Chaining and delaying actions
For automation stitches that use the action for AWS Lambda or Webhook, extra options are available to support chaining and delaying these actions. You can configure these options using the CLI.
To enable chaining actions by delaying an action until the previous action is finished, use the command set required enable
. This option is only available when action-type
is set to aws-lambda
or webhook
, and it's disabled
by default.
To delay the execution of the action, use the command set delay <seconds>
. This option is only available when action-type
is set to aws-lambda
or webhook
, and it's set to 0 by default.
CLI syntax
config system automation-action
edit <name>
set action-type {aws-lambda | webhook}
set required {enable | disable}
set delay <seconds>
next
end