Jump to: navigation, search

Wait Event Block

Use to have ORS transition out when one of the defined events is received and the associated condition is true. The Wait block has the following properties:

Name Property

Find this property's details under Common Properties.

Block Notes Property

Find this property's details under Common Properties.

Event Property

Enter a value or select the variable that contains the data associated with the event that makes ORS transition out.

Transitions Property

Use this property to define the events/condition pairs that makes ORS transition out. ORS does not need all the events in the list to occur in order to transition out, but only one of them. The condition is optional. If not set, it behaves as if condition was true (ORS transitions out of the block). To specify events/condition pairs:

  1. Click the Transitions row in the block's property table.
  2. Click the OpenDialogBoxButton.gif button to open the Configure Transitions dialog box.
  3. Click Add to add an entry.
  4. Enter the Event.
  5. Click under Conditions.
  6. Click the OpenDialogBoxButton.gif button to use Expression Builder to define the conditions.

Condition Property

Find this property's details under Common Properties.

Logging Details Property

Find this property's details under Common Properties.

Log Level Property

Find this property's details under Common Properties.

Enable Status Property

Find this property's details under Common Properties.

Timeout Property

Select the variable that contains the timeout value or keep the default of 30 (added in 8.1.440.18). If the timeout expires before one of the targets is available, the interaction is routed to the error port (if the Exception property is configured for the block). This property supports the following:

  • Literal integer value. For example: Timeout=4 & Unit=second <send event="'WaitEvent1.wait.timeout'" delay="'4s'"/>.
  • Variable with integer value. For example: Timeout=Variable(4) & Unit=second <send event="'WaitEvent1.wait.timeout'" delay="'4s'"/>.
  • Variable with string value. For example: Timeout=Variable('6') & Unit=second <send event="'WaitEvent1.wait.timeout'" delay="'6s'"/>.
  • Variable with string value including unit. For example: Timeout=Variable('6ms') & Unit=second <send event="'WaitEvent1.wait.timeout'" delay="'6ms'"/>. In this case, the unit specified in the variable is used instead of the static property unit.

Unit Property

Select the unit of measure for the timeout.

ORS Extensions Property

Starting with 8.1.4, Composer blocks used to build routing applications (with the exception of the Disconnect and EndParallel blocks) add a new ORS Extensions property.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on November 30, 2018, at 10:46.