Reference > Workflow Object Blocks > Wait for Child

* * * New or Improved for 2014.1 * * *  Wait for Child Workflow Block

Waits for a condition specified in the block to become true for a child object, or for a timer to expire. By default, exit ports for this block allow for separate workflow paths based on these events.

Wait for Child Workflow Block

The timeout behavior is as follows:

If value based timer (i.e. duration) is specified by values

days == null && hours == null && minutes == null, then infinite timeout or never times out
days == -1 && hours == -1 && minutes == -1, then infinite timeout or never times out
days <= 0 && hours <= 0 && minutes <= 0, then Immediately times out and timeout exit is used
days > 0 && hours > 0 && minutes > 0, then combined value is set as the timeout and exit timeout is used when the time passes.

If field based timer

fieldvalue == null, then infinite timeout or never times out
fieldvalue <= UtcNow, then immediately times out and timeout exit used
fieldvalue > UtcNow, then combined value is set as the timeout and exit timeout is used when the time passes

Exit Ports

ok

Continue to the next block.

timed out The workflow is terminated as incomplete because an event exceeded the defined length of time.

Properties

Title Enter a unique name for the object.
Relationship Name Select an available relationship for the child object from the drop-down list.
How many children should satisfy conditions
  • All - all children must satisfy the conditions.
  • Any - any child can satisfy the conditions.
  • At least - the minimum number of children that must satisfy the conditions.
AND / OR Choose the child conditions.
Field Select an operand from the drop-down list.
Operator Select an additional operator from the drop-down list.
Value Add a value. Depending on the child object, this can be a drop-down list or calendar selection.
Timeout
  • Field - The due date is generated relative to the field selected from the drop-down list.
  • Duration - Define the due date according to the interval defined in the day (d), hour (h), and minute (m) fields.