Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get the value of ACTION in RTC

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);


1

0 votes


Accepted answer

Permanent link
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020
× 7,495
× 1,700

Question asked: Oct 05 '15, 9:10 a.m.

Question was seen: 3,549 times

Last updated: Oct 05 '15, 8:42 p.m.

Confirmation Cancel Confirm