10000
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.
1 parent 1fdff6d commit f20694fCopy full SHA for f20694f
docs/usage/taskrouter.rst
@@ -205,6 +205,7 @@ To create a new :class:`Task` via the REST API:
205
206
# See previous examples to create a Workspace
207
WORKSPACE_SID = "WSZZZZZZZZZZZZZZ"
208
+ WORKFLOW_SID = "WWXXXXXXXXXXXXXX"
209
# Some JSON containing attributes for this task. User-defined.
210
TASK_ATTRIBUTES = """{
211
"type": "call",
@@ -219,5 +220,6 @@ To create a new :class:`Task` via the REST API:
219
220
task = client.tasks(WORKSPACE_SID).create(
221
attributes=TASK_ATTRIBUTES,
222
assignment_status='pending',
223
+ workflow_sid=WORKFLOW_SID
224
)
225
print task.sid
0 commit comments