We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 998b3d4 + 8f27710 commit cd1e255Copy full SHA for cd1e255
examples/Maestro/eg001TriggerWorkflow.sh
@@ -41,12 +41,14 @@ echo ""
41
echo "Attempting to retrieve Workflow definition"
42
echo ""
43
#ds-snippet-start:Maestro1Step3
44
+#apx-snippet-start:GetWorkflowsList
45
response=$(mktemp /tmp/response-wftmp.XXXXXX)
46
Status=$(
47
curl -w '%{http_code}' --request GET "${base_path}/accounts/${account_id}/workflows" \
48
"${Headers[@]}" \
49
--output ${response}
50
)
51
+#apx-snippet-end:GetWorkflowsList
52
# If the status code returned is greater than 201 (OK / Accepted), display an error message with the API response.
53
if [[ "$Status" -gt "201" ]]; then
54
0 commit comments