Skip to content

Commit b27bd0f

Browse files
author
nianiB9
committed
update
1 parent 8e37100 commit b27bd0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Maestro/eg001TriggerWorkflow.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ echo ""
4141
echo "Attempting to retrieve Workflow definition"
4242
echo ""
4343
#ds-snippet-start:Maestro1Step3
44+
#apx-snippet-start:GetWorkflowsList
4445
response=$(mktemp /tmp/response-wftmp.XXXXXX)
4546
Status=$(
4647
curl -w '%{http_code}' --request GET "${base_path}/accounts/${account_id}/workflows" \
@@ -83,6 +84,7 @@ echo ""
8384

8485
trigger_url=$(grep '"url":' $response | sed -n 's/.*"url": "\([^"]*\)".*/\1/p')
8586
decoded_trigger_url=$(echo $trigger_url | sed 's/\\u0026/\&/g')
87+
#apx-snippet-end:GetWorkflowsList
8688
#ds-snippet-end:Maestro1Step3
8789

8890
echo "Please input a name for the workflow instance: "
@@ -101,7 +103,6 @@ echo "Please input an email for the cc participant: "
101103
read cc_email
102104

103105
#ds-snippet-start:Maestro1Step4
104-
#apx-snippet-start:GetWorkflowsList
105106
request_data=$(mktemp /tmp/request-wf-001.XXXXXX)
106107
printf \
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

0 commit comments

Comments
 (0)