You can set expiration values for invoke and human task activities so that their execution will end after a specific period of time has either elapsed or been reached.
To set an expiration value, proceed as follows:
Option | Description |
---|---|
Simple calendar | This is, as the name suggests, a simple arithmetic calendar. Enter the time in a straight-forward format (without spaces) such as 20minutes or 2hours. |
WebSphere CRON calendar | This is a built-in calendar that uses a list of term expressions representing elements of time to calculate the interval. Examples of this type of calendar can be found in the Related Information section below. |
User-Defined calendar | Use this option to select a calendar other than those provided. You can use the fields to name the calendar, and point to a valid Java Naming and Directory Interface (JNDI) location. |
Option | Description |
---|---|
Date | Choose this when you want the expiration to occur when a specific time and date has been reached. |
Duration | Choose this when you want expiration to occur after a certain period of time has elapsed. |
Option | Description |
---|---|
Visual | Choose this to use the visual snippet editor to graphically compose Java™ code. |
Java | Choose this to write a Java expression yourself. |
Literal | Choose this to enter the desired values directly into customized fields. Calendar values are represented in Coordinated Universal Time (UTC). |
Text | Choose this to compose an XPath expression. |
Related information