You can schedule activation and expiration times for tasks. These properties do not apply to notifications.
Deferred Activation for a Task
You can specify an alarm for when a task should become active. The alarm is defined as either the period of time after which the task reaches the Ready state (in case of explicit claim) or Reserved state (in case of implicit claim), or the point in time when the task reaches Ready or Reserved.
For example, you can specify, "Activation of this task is deferred until the time specified in its input data."
Task Expiration
You can add a task expiration duration or date, if desired. The expiration indicates the date/time a task becomes obsolete, and the expiration date/time is displayed in users’ task client application. When the expiration occurs, all task instances are listed as exited, and a fault is thrown in the BPEL process. A user cannot complete the task, and the output data, if sent back by a user, will not be used.
For example, you can specify, "This task expires when not completed within 14 days after having been activated".
To Specify a Deferred Activation:
Select the Properties view of a people activity.
Put the All tab in focus.
In the Defer Activation Alarm row, select Deadline or Duration.
In the Defer Activation Expression row, select the Dialog (
...
) button to open the Expression Builder.
Create either a deadline or duration expression. For examples, see "Deadline and Duration Expressions" in the
Process Developer Designer Online Help
.
Repeat the steps above to create an Expiration Alarm and Expiration Expression.