IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing business processes > (Deprecated) Routing with Selectors > (Deprecated) Creating a selector
(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.
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
- In the destination area of the selector, create a new active destination by clicking the
icon. Date fields will appear with the current date.
- 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.
(Deprecated) Creating a selector
Related concepts:
(Deprecated) Selector editor
(Deprecated) Standards for date and time selection in a selector
Related tasks:
(Deprecated) Choosing dates and times
(Deprecated) Specifying a target component for your selector