|Oracle® Fusion Middleware Idoc Script Reference Guide
11g Release 1 (11.1.1)
Part Number E10726-01
Retrieves the timestamp from the last time the workflow step was entered.
This variable can be used to create conditional statements, but it should not be hard-coded or altered.
The last entry time is localized in the companion file and maintained in the key:
Type and Usage
Returns the timestamp in the format defined by dateCurrent.
The following code defines a jump called LastEntry, which exits to the parent workflow and notifies the reviewers if the last time the step was entered was more than one week ago:
<$if parseDate(wfCurrentGet("lastEntryTs")) < parseDate(dateCurrent(-7))$> <$wfSet("WfJumpName","LastEntry")$> <$wfSet("WfJumpTargetStep",wfExit(0,0))$> <$wfSet("WfJumpEntryNotifyOff","0")$> <$endif$>