Skip to main content

GetInstance Task

GetInstance Task (type: "19") returns the full projection of a single instance — metadata and data together — from a target workflow. It is the task-level equivalent of GET /api/v1/{domain}/workflows/{workflow}/instances/{instance} and completes the trigger task family:

TaskTypeReturns
GetInstances15A list of instances (with paging/filtering)
GetInstanceData13Instance data only
GetInstance19The full projection of one instance (metadata + data)

Same-domain queries run in-process (no HTTP/Dapr hop); cross-domain queries call the same REST endpoint over HTTP or Dapr. Both paths surface an identical response shape to the script context.

The target instance is addressed by key or instanceId (usually set dynamically in the input mapping via SetKey / SetInstanceId). The configuration mirrors GetInstances: domain and flow are required; extensions, useDapr, headers, timeoutSeconds, validateSsl, and acceptedStatusCodes are optional.

🚧 Full English translation is pending. See the Turkish page for the complete configuration tables, mapping example, and response reference.