Some work queue and user queues have one or more operations
that you can specify as the step destination. If a selected operation
requires parameters, the parameters appear on the Parameters tab in
the Properties pane.
To define operation
parameters
- With the appropriate step selected, select the Parameters tab in the Properties pane.
- Select the operation you want to use.
- If there are parameters defined for the operation, they appear
in the table, listing their name, data type, and access—Read (read
from the work item), Write (write to a data field in the work item),
or Read/Write (a value that passes from the work item to the operation
where it is processed, and then passes back to the work item).
- For each parameter, click in Expression and
specify the expression of the appropriate data type for that parameter.
Choose one of the following options to specify the expression.
- <undefined> - The expression for this parameter is not defined.
It must be defined prior to transfer to the workflow system.
- <Create parameter_name> - Choose this option
to automatically create a field of the appropriate type with the same
name as the parameter. This option should be used only if an appropriate
field does not already exist.
NOTE If the <Create parameter_name>
option is not available, a field with the parameter name might already
exist, or the parameter name might result in an invalid field name,
such as a reserved word.
- <Build Expression...> - Choose this option to open the Expression
Builder dialog box and define an expression using data fields, attachments,
system fields, functions, and operators.
- Existing fields of the matching data type - Choose one of these,
as appropriate.
Note: - For a Read parameter, the expression can be simple or complex,
and can consist of a literal value, or a data field, attachment, or
workflow group in the current workflow definition.
- For a Write or Read/Write parameter, the expression must be the
name of a data field defined in the workflow definition. If the data
field is an array, you can enter an index in the array, such as Arr[Inx],
where Arr is the field name and Inx is an integer expression.