File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ echo "Please input an email for the cc participant: "
101101read cc_email
102102
103103# ds-snippet-start:Maestro1Step4
104+ # apx-snippet-start:TriggerWorkflow
104105request_data=$( mktemp /tmp/request-wf-001.XXXXXX)
105106printf \
106107' {
@@ -116,10 +117,13 @@ printf \
116117
117118# ds-snippet-start:Maestro1Step5
118119response=$( mktemp /tmp/response-wftmp.XXXXXX)
120+ # The ${decoded_trigger_url} variable is extracted from the response from a previous API call
121+ # to the Workflows: getWorkflowTriggerRequirements endpoint.
119122Status=$( curl -s -w " %{http_code}\n" -i --request POST ${decoded_trigger_url} \
120123 " ${Headers[@]} " \
121124 --data-binary @${request_data} \
122125 --output ${response} )
126+ # apx-snippet-end:TriggerWorkflow
123127# ds-snippet-end:Maestro1Step5
124128
125129
You can’t perform that action at this time.
0 commit comments