<with>
Creates one or more request attributes using KEYS and VALUES, then invokes subtasks.
See also: <with-attribute>
| Name | XPath | Description | Reagent Type | Expected Type | Required |
|---|---|---|---|---|---|
| KEYS | attribute/@key | Name of a request attribute that will be available to subtasks. | NODE_LIST | java.util.List | No |
| VALUES | attribute/text() | Value of the request attribute. | NODE_LIST | java.util.List | No |
| SUBTASKS | subtasks/* | The set of tasks that are children of this task. | NODE_LIST | java.util.List | No |
Creates request attributes named 'foo' and 'myPath' then displays the value of each.:
bar
${Attributes.ORIGIN}
foo=${foo}
myPath=${myPath}