It's all about the answers!

Ask a question

IBM RTC CCM 6.0.5 Java Script calculated values


Rafael Rodriguez Montes (23013104203) | asked Feb 14 '20, 5:26 p.m.

 Hi, 


I have JavaScript  hooked in a attribute and I'm trying to get the user who modify the work-item, but is giving me null value.
The script is executed when the user save the work item and give me null value. 

I'm using this statement to get the value:
workItem.getValue(WorkItemAttributes.MODIFIED_BY)

when I add dependencies like when other attribute change, it runs in the browser and it doesn't give me null value, but actually I want to have it run at save time, and I want to known who is saving, but is giving null, is there any alternative way to do it? or JavaScript statement where we can know if is executing via browser. 

Thank you. 


Be the first one to answer this question!


Register or to post your answer.