Friday, May 27, 2011

Working With Decision Task


How can I execute part of a daily workflow only on Sundays using a decision task?

> Put a decision task just before the main session which needs to be run only on Sunday.
>
In the decision task, give the condition as to_char(sysdate,'DAY')='SUNDAY'.
>
In the Link task to the downstream session, give the
$Decision_Task.Condition = TRUE and $Decision_Task.Status = SUCCEEDED.