It's all about the answers!

Ask a question

How to get the value of ACTION in RTC


0
1
Sajjad Ali Khan (313852) | asked Oct 05 '15, 9:10 a.m.
Hi All,

I want to get ACTON Id from run time and use it inside my condition, is there a way to get action id like for State i can go this: var ActionFLA = workItem.getValue(workItemAttributes.ACTION);


Accepted answer


permanent link
Donald Nong (14.5k414) | answered Oct 05 '15, 8:42 p.m.
Check the wiki.
since 4.0 M1 getWorkflowAction() 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 return null . Note: This method works only when used inside a Condition script, the return value will always be null when this is used in other customization script types.
https://jazz.net/wiki/bin/view/Main/AttributeCustomization
Ralph Schoon selected this answer as the correct answer

Your answer


Register or to post your answer.