The following example
illustrates both the timer expired event and the timer tool policies.
This workflow is initiated when the system receives an order. Then,
an account manager must access the relevant ordering system, review
the order details and either approve or reject the order. If the order
is not reviewed within a certain time threshold, then the users within
the Account Manager group are notified by e-mail up to three times
before the order is escalated and reassigned to a senior manager.
The remaining workflow
activities are similar to those in Basic Approval Process.
See the e-mail example
for an example of SAS Templates usage.
The timer policy associated
with the initial Review Order task (Timer Expired
->
Send Workflow Notification) has the following parameter values:
|
|
|
|
|
Send Workflow Notification
|
|
This policy is used
to send a notification. Each recipient is addressed in their own notification.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Timer Expired -> Send Workflow Notification
|
The schedule parameter
values in the following table trigger an e-mail notification after
three minutes (schedule expression) and twice (number of repetitions)
more after two minutes (repetition interval).
|
|
|
|
Recurrence: Number of
Repetitions
|
|
Recurrence: Interval
of Repetitions
|
|
|
|
The timer policy associated
with the main workflow has the following parameters:
|
|
|
|
Recurrence: Number of
Repetitions
|
|
Recurrence: Interval
of Repetitions
|
|
|
|
The schedule parameter
values in the table above will trigger a transition to the Review
Escalated Order activity after 10 minutes (schedule expression) without
repetition (0 or –1 for number of repetitions). This activity
has another policy associated with it to stop the initial Review Order
task because the order has been automatically reassigned.
See the examples provided
with SAS Workflow Studio for details of this example.