How can i get the value of the action in validator in RTC502?
One answer
As explained in https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript you can only access this in conditions.
Cite:
Cite:
since 4.0 M1getWorkflowAction()
returns a string that is the id of a workflow action currently selected by the user. This action will be executed when the item is saved. If the user has not selected any action this method will returnnull
. Note: This method works only when used inside a Condition script, the return value will always benull
when this is used in other customization script types.