@servicenow/sdk - v4.9.0
    Preparing search index...
    DataReference: any

    Represents a reference to data that can be used in wfa.playbook.dataPill() calls.

    DataReference enables dot-walking through record fields and relationships at design time. For example: params.inputs.caseRecord.assigned_to.email - each property access is tracked and converted to a data pill reference at build time.

    Usage contexts:

    • Playbook inputs: params.inputs.fieldName
    • Activity outputs (same-lane): activityVar.outputs.fieldName
    • Cross-lane outputs: laneVar.activityName.outputs.fieldName

    Uses any to allow arbitrary dot notation access with the strict noPropertyAccessFromIndexSignature compiler option enabled. This is consistent with how Flow handles undefined table schemas.