(Deprecated) Customizing algorithms for date and time selection

When you want to specialize the date and time selection criteria, you can create your own custom algorithm.

About this task

You can configure a selector to work with the following:
  • A date as specified using the tool.
  • A date returned from a Java™ expression
  • A date stored in an attribute of the incoming business object.

By default, scheduling is set on Current Date. To change this, proceed as follows:

Procedure

  1. In the destination area of the selector, create a new active destination by clicking the The plus symbol icon. Date fields will appear with the current date.
  2. In the Selection Criteria table, click Current date. You will then have the following choices:
    Option Description
    Current® date Choose this to use the inline interactive calendar to select the dates graphically. If you choose this, then the system will create a java snippet that will return a current java.util.date object.
    Java Choose this to use the visual snippet editor to graphically compose your own Java code that will obtain a date and a time, and return a java.util.date to the selector component.
    XPath Choose this to specify an XPath to a xsd:datetime (java.util.date) parameter. The parameter can either be a stand-alone, or it can be embedded within a business object.