Skip to content

/AWS1/CL_TRN=>SENDWORKFLOWSTEPSTATE()

About SendWorkflowStepState

Sends a callback for asynchronous custom steps.

The ExecutionId, WorkflowId, and Token are passed to the target resource during execution of a custom step of a workflow. You must include those with their callback as well as providing a status.

Method Signature

IMPORTING

Required arguments:

IV_WORKFLOWID TYPE /AWS1/TRNWORKFLOWID /AWS1/TRNWORKFLOWID

A unique identifier for the workflow.

IV_EXECUTIONID TYPE /AWS1/TRNEXECUTIONID /AWS1/TRNEXECUTIONID

A unique identifier for the execution of a workflow.

IV_TOKEN TYPE /AWS1/TRNCALLBACKTOKEN /AWS1/TRNCALLBACKTOKEN

Used to distinguish between multiple callbacks for multiple Lambda steps within the same execution.

IV_STATUS TYPE /AWS1/TRNCUSTOMSTEPSTATUS /AWS1/TRNCUSTOMSTEPSTATUS

Indicates whether the specified step succeeded or failed.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_TRNSENDWORKFLOWSTEP01 /AWS1/CL_TRNSENDWORKFLOWSTEP01