In the Condition Parameters dialog box, you define a condition that will satisfy the
WaitForCondition system function. You can also specify optional activities to occur if the
condition is satisfied; these options include updating data fields in the waiting or waited-for
work item and calling another workflow map.
- In the Condition Parameters dialog box, select the name
of a workflow to wait for. (Only workflow definitions that have been
transferred to the workflow database are listed.
The
Condition Identifier of the selected workflow displays, along with
its data type.
- Select the appropriate operator and enter an expression
that will be compared to the value of the condition identifier in
the waited-for work item. (The data types of the expression and the
waited-for work item condition identifier must be the same.) The expression
can reference one or more data fields in the waiting work item; it
cannot reference an operation parameter.
- To update one or more data fields in the waiting or waited-for
work items as the result of satisfying this condition, specify the
name of the field to update and the update expressions in the Assignments
table. This update facility is commonly used to copy data from the
waited-for work item to the waiting work item.
- In the Name field, select the name of the data field
in the waiting or waited-for work item that you want to update when
the wait condition is satisfied. In this list, the $ identifies data
fields in the waited-for work item.
- In the Expression field, enter the expression that will
be used to update the data field you specified under Name. Click ...
to access the Expression Builder dialog box.
In the
Expression Builder dialog box, choose the source of the data from
the list at the top of the page: Data Fields (in the waiting workflow),
Data Fields in the waited-for workflow, Workflow Groups, Functions,
and so on.
- To call another workflow map if this condition is satisfied,
select the map to call. Only maps defined in the workflow definition
of the waiting work item are listed.