<Task>
The task’s attributes as a JSON object, written either as the text of <Task> or as an <Attributes> child followed by an optional <Proficiency> child (in that order). Invalid JSON, or a <Task> with <Attributes> left empty, creates no task.
Used inside <Enqueue>.
Example
Section titled “Example”<Task> <Attributes>{"type":"billing","priority":"high"}</Attributes> <Proficiency>{"billing":3}</Proficiency></Task>Content
Section titled “Content”The element’s text is its value (see the description above).
Nested elements
Section titled “Nested elements”| Element | Description |
|---|---|
<Attributes> |
Task attributes, a JSON object. |
<Proficiency> |
Required worker proficiency, a JSON object, passed to TaskRouter with the task. |