This content has been marked as final. Show 2 replies
This is an iDocScript for the "Update" event.
The best reference is here: http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHDJDJE ( Example 4-7 Time-dependent Jump - this one is for 7 days)
Basically, what it does is the following:
- "Update" is triggered on regular basis (there's a parameter for that - I think by default it is once an hour), or when there is a change (e.g. one of reviewers approves the item)
- in your code (see the example) you check the time when the item entered the step (lastEntryTs)
- if the time passes, you do whatever you need to do - in the example it sends a message, and jumps "back" to the same step - you might also want to jump to another step, or start a sub-workflow for escalations
Thanks again for the help, Jiri. That is exactly what I am looking for.
Here's the reference for the WorkflowIntervalHours parameter.