Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Deadline and Duration Expressions

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'"/>

0 COMMENTS

We’d like to hear from you!