Expiration tab: BPEL process editor
No Expression
If there is no expression configured, the Expiration tab shows Expression Language: No Expression. To continue, you can either choose an Expression language from the drop down menu, or click Create a New Condition.
Java Expression language
If you choose Java™ as the expression language, then you will be able to compose the expiration expression in the Java programming language using either the visual snippet editor, or a text editor. With this option, you will be able to configure either a date or a duration expression.
- 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.
- Expression Type
- Use this field to decide which language your process will use
for its conditional expressions. You can choose from one of the following options:
- Visual: Choose Visual to use the visual snippet editor to graphically compose Java code.
- Java: Choose Java to write a Java expression yourself in a text editor.
- Literal: Choose Literal to enter values directly into customized fields. Calendar values are represented in Coordinated Universal Time (UTC).
Timeout Expression language
If you choose this, then you will be able to simply enter a duration value, and expiration will occur the moment this period has passed.
- Simple Calendar Type
- This is, as the name suggests, a simple arithmetic calendar. Use the Timeout Duration fields to select the amount of time that this activity should wait for an action to occur before it expires.
- WebSphere® CRON Calendar Type
- 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 Type
- 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.
- Business calendar
- There will be more than three options in the Calendar Type field if a business calendar is available. A business calendar can be used to model duration values for time-sensitive aspects of your BPEL process in order to account for such variables as regular working hours, weekends, and holidays. See Using business calendars within a BPEL process for more information.
XPath 1.0 Expression language
Choose this to compose the expressions in the XPath 1.0 programming language, using either the XPath Expression Builder, or a text editor. With this option, you will be able to configure either a date or a duration expression.
- 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.
- Expression Type
- Use this field to decide which language your process will use
for its conditional expressions. You can choose from either of the
following:
- Literal: Choose this to enter values directly into customized fields. Calendar values are represented in Coordinated Universal Time (UTC).
- Text: Choose this to compose an XPath expression. Click Edit to launch the XPath Expression Builder.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15