File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ echo ""
4141echo " Attempting to retrieve Workflow definition"
4242echo " "
4343# ds-snippet-start:Maestro1Step3
44+ # apx-snippet-start:GetWorkflowsList
4445response=$( mktemp /tmp/response-wftmp.XXXXXX)
4546Status=$(
4647 curl -w ' %{http_code}' --request GET " ${base_path} /accounts/${account_id} /workflows" \
@@ -83,6 +84,7 @@ echo ""
8384
8485trigger_url=$( grep ' "url":' $response | sed -n ' s/.*"url": "\([^"]*\)".*/\1/p' )
8586decoded_trigger_url=$( echo $trigger_url | sed ' s/\\u0026/\&/g' )
87+ # apx-snippet-end:GetWorkflowsList
8688# ds-snippet-end:Maestro1Step3
8789
8890echo " Please input a name for the workflow instance: "
@@ -101,7 +103,6 @@ echo "Please input an email for the cc participant: "
101103read cc_email
102104
103105# ds-snippet-start:Maestro1Step4
104- # apx-snippet-start:GetWorkflowsList
105106request_data=$( mktemp /tmp/request-wf-001.XXXXXX)
106107printf \
107108' {
@@ -121,7 +122,6 @@ Status=$(curl -s -w "%{http_code}\n" -i --request POST ${decoded_trigger_url} \
121122 " ${Headers[@]} " \
122123 --data-binary @${request_data} \
123124 --output ${response} )
124- # apx-snippet-end:GetWorkflowsList
125125# ds-snippet-end:Maestro1Step5
126126
127127
You can’t perform that action at this time.
0 commit comments