Via the WaitForCondition system function, a work item waits for another work item that meets a specified condition.
Before you define the WaitForCondition system function, the workflow definition of the waited-for work item must already exist in the workflow database. In addition, this workflow definition must include a condition identifier.
To specify a WaitForCondition system function: