Deadline and Duration Expressions
Several activities contain properties to set a deadline or duration. For deadline and duration expressions, you can see the examples given in the XML schema specification.
Be sure to enclose deadline and duration values in single quotes, as shown in the examples below.
Refer to the following:
- •http://www.w3.org/TR/xmlschema-2/#duration
- •http://www.w3.org/TR/xmlschema-2/#datetime
- •http://www.w3.org/TR/xmlschema-2/#date
Also see the format options described in
Tips on Writing XQuery Functions.
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'"/>