Orchestration Dependency Editor Wait for Condition Tab

Use the Wait For Condition tab to specify the conditions that must be satisfied before an order component with dependencies on another order component can execute.

Wait For Condition

Use the Wait for Condition area to specify the conditions that must be satisfied before the transition can occur.

Field Use

Task State Completed

Select this option to specify that the dependency target order component cannot run until the subprocess task associated with the dependency source order component reaches the completed state.

Data Change Notification

Select this option to indicate that the dependency target order component cannot run until the value you select for the data change notification property of the order item changes. For example, you can configure a data change notification on a status field in the order template so that if the status changes to Failed, OSM generates a fallout notification to an administrator.

When you select Data Change Notification, you also define the following fields:

  • In the Order Item field, select the order item specification upon which the dependency target order component must wait.

  • In the Data Change Notification Property field, select the order item property that contains the data change notification property value upon which the dependency target order component must wait. See "Order Item Specification Editor Order Item Properties Tab" for more information about defining order item properties.

  • In the Relative Path field, you can specify the location of the data change notification property.

  • In the Data Change Condition Expression area, you can configure an XQuery expression to denote that the transition wait until the property contains a specific value. See "About Creating XQuery Expressions with Design Studio" for more information about entering information into XQuery controls. See "About Order Data Change Wait Condition XQuery Expressions" for more information about this XQuery field.

Wait Delay

Use the Wait Delay area to configure a delay in addition to the information defined in the Wait For Condition area. You configure the wait delay against either the Task State or the Data Change Notification wait condition options. After the conditions specified in the Wait for Condition area are met, OSM delays the execution of the corresponding target order component using the information defined here.

The wait delay setting defers the start of the waiting order component until after the dependencies have been resolved. For example, you can use this to defer the resolution of the condition until two days after a task completes.

Note:

If order items have Wait Delay making it impossible to complete the order component on the requested delivery date, Use Calculated Start Date is ignored. See "Order Component Specification Editor Details Tab" for more information.

Field Use

Wait Delay area

In the Wait Delay area, do one of the following:

  • Select Duration and use the Duration fields to specify the amount of time to wait after the conditions defined in the Wait For Condition area is met.

  • Select Date Time Expression and use the Duration Expression field to use XQuery to set the date and time for the transition to occur.

Duration fields

Use these fields to set a static amount of time to delay. Only available if the Duration option is selected.

Duration Expression

Create an XQuery expression in the Duration Expression field to run against a specific order item property. See "About Creating XQuery Expressions with Design Studio" for more information about entering information into XQuery controls.

If the Duration option is selected, write the XQuery expression to return a string in the xs:duration format (for example,"PT15M"). See "About Wait Delay Duration XQuery Expressions" for more information.

If the Date Time Expression option is selected, write the XQuery expression to return a string in the xs:dateTime format (for example, "2012-09-15T15:30:00-4:00"). See "About Wait Delay Date and Time XQuery Expressions" for more information.