|Oracle® Fusion Middleware Idoc Script Reference Guide
11g Release 1 (11.1.1)
Part Number E10726-01
Retrieves the action that is currently being performed on the revision.
This variable is set after the Exit event of a workflow step, so it is normally evaluated during the Entry event of the next step.
The possible actions are:
Type and Usage
Returns the name of the action as a string.
If the revision is in the process of being rejected, notify the original author:
<$if wfAction like "REJECT"$> <$wfSet("wfJumpName", "notifyAuthor")$> <$wfSet("wfJumpEntryNotifyOff", "0")$> <$wfNotify(dDocAuthor, "user")$> <$endif$>
If the revision is currently being approved but the metadata value of xDept is not HR, terminate the approval and display an error page:
<$if wfAction like "APPROVE" and not(xDept like "HR")$> <$abortToErrorPage("The revision is not in HR.")$> <$endif$>