ActiveVOS Designer User’s Guide

Wait

The wait activity tells the business process to wait for a given time period or until a certain time has passed.

The wait expression conforms to an expression, where the value is an XML schema type of dateTime, date, or duration.

Required and optional properties for Wait

Required Properties

Optional Properties

Wait Expression

Name. See Selecting Activity Labels

Wait Type

Join Condition. See Creating a Join Condition for an Incoming Link

Suppress Join Failure. See Process Properties

Comment. See Adding Comments to a Process

Documentation. See Adding Documentation to a Process

Setting Visual Properties and Using Your Own Library of Images

Execution State. See Viewing the Execution State of an Activity or Link

Extension Attributes and Extension Elements. See Declaring Extension Elements and Attributes.

To build a wait activity:

  1. From the Event palette, drag a wait activity to the Process Editor canvas.
  2. In the Properties view, select a Wait Type: Duration or Deadline.
  3. Click the Dialog (...) Button next to Wait Expression.
  4. In the Expression box, specify one of the following:

Note: In addition to the few examples below for deadline and duration expressions, you can see the examples given in the XML schema specification.

See the following:

XML Syntax

<wait (for="duration-expr" | until="deadline-expr")standard-attributes>
  standard-elements
</wait>

Examples

A duration of one second:

<wait for="'PT1S'"/>

A duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes:

<wait for= "‘P1Y2M3DT10H30M’ "/>

A deadline with a date and time:

<wait until="’2010-12-12T12:00’"/> 

The following illustration shows an example of using a wait activity.

Wait example