Skip to content

Commit 01c4945

Browse files
authored
Merge pull request #116 from docusign/DEVDOCS-16547-code-snippet-change
change code snippets and variable name
2 parents 3663bc2 + 9c99ff6 commit 01c4945

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/Maestro/eg001TriggerWorkflow.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ echo "Opening a browser with the embedded workflow..."
174174

175175
sleep 5
176176

177-
#ds-snippet-start:Maestro1Step6
178177
# [Optional] Launch local server and embed workflow instance using the instance URL
179178
decoded_instance_url=$(echo "$instance_url" | sed 's/\\u0026/\&/g')
180179

@@ -188,7 +187,6 @@ elif which start &> /dev/null ; then
188187
start $host_url
189188
fi
190189
php ./examples/Maestro/lib/startServerForEmbeddedWorkflow.php "$decoded_instance_url"
191-
#ds-snippet-end:Maestro1Step6
192190

193191
# Remove the temporary files
194192
rm "$request_data"

examples/Maestro/lib/startServerForEmbeddedWorkflow.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
$state = bin2hex(random_bytes(5));
77

8-
$triggerUrl = "$argv[1]";
8+
$instanceUrl = "$argv[1]";
99

1010
$socket = 'tcp://' . $IP . ':' . $PORT;
1111

@@ -34,10 +34,13 @@
3434
</style>
3535
</head>
3636
<body>
37+
#ds-snippet-start:Maestro1Step6
3738
<div>
38-
<iframe src=$triggerUrl width=800 height=600>
39+
<iframe src=$instanceUrl width=800 height=600>
3940
</iframe>
4041
</div>
42+
#ds-snippet-end:Maestro1Step6
43+
4144
</body>
4245
</html>
4346

0 commit comments

Comments
 (0)