Skip to content

/AWS1/CL_SSM=>SENDAUTOMATIONSIGNAL()

About SendAutomationSignal

Sends a signal to an Automation execution to change the current behavior or status of the execution.

Method Signature

IMPORTING

Required arguments:

IV_AUTOMATIONEXECUTIONID TYPE /AWS1/SSMAUTOMATIONEXECUTIONID /AWS1/SSMAUTOMATIONEXECUTIONID

The unique identifier for an existing Automation execution that you want to send the signal to.

IV_SIGNALTYPE TYPE /AWS1/SSMSIGNALTYPE /AWS1/SSMSIGNALTYPE

The type of signal to send to an Automation execution.

Optional arguments:

IT_PAYLOAD TYPE /AWS1/CL_SSMAUTOMATIONPRMVAL00=>TT_AUTOMATIONPARAMETERMAP TT_AUTOMATIONPARAMETERMAP

The data sent with the signal. The data schema depends on the type of signal used in the request.

For Approve and Reject signal types, the payload is an optional comment that you can send with the signal type. For example:

Comment="Looks good"

For StartStep and Resume signal types, you must send the name of the Automation step to start or resume as the payload. For example:

StepName="step1"

For the StopStep signal type, you must send the step execution ID as the payload. For example:

StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab"

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMSENDAUTOMATIONSI01 /AWS1/CL_SSMSENDAUTOMATIONSI01