It's all about the answers!

Ask a question

Issues in script conditions execution


Akshay Panchakshari (37228) | asked Jul 27 '16, 6:10 a.m.
edited Jul 28 '16, 2:57 a.m. by Ralph Schoon (63.1k33646)
Hi All,

I am facing this strange issue where the script conditions I have coded are working perfectly fine on my system(For both rtc desktop and web client), but none of the scripts executes (Could not see any console.logs ) when trying on rtc desktop client on my colleagues system, when tried with web client, the script conditions seems to be executing but the work item gets saved even though the  conditions failed. We have no clue what went wrong here !! any suggestion on this please ??

Thanks
Akshay P,

Comments
Akshay Panchakshari commented Jul 27 '16, 9:42 a.m.

I have found some reference questions like https://jazz.net/forum/questions/15174/required-properties-not-working
 where its been mentioned that the required attribute precondition wont be enforced for the role project area admin. Is this true ?? I wonder how is it possible even after adding the precondition in operational behavior for project area admin.

One answer



permanent link
Ralph Schoon (63.1k33646) | answered Jul 28 '16, 3:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There is no information about the condition at all and what you want to achieve. Provide better information. See How should I ask a question in the Forum if I want to receive useful answers?

As https://jazz.net/forum/questions/15174/required-properties-not-working is actually saying, operational behavior would be enforced for any role. There are certain operations related to save the process where there is a permission based override for users like the members of the Administrators section. See https://jazz.net/wiki/bin/view/Deployment/RTCProcessFundamentals#Roles

If you want to do attribute customization, you have to learn to use the logs. See https://rsjazz.wordpress.com/2016/06/17/javascript-attribute-customization-where-is-the-log-file/

You also need to understand how RTC works e.g.  


There is basically not enough information here to even start helping. From my experience with matters like these it is usually a script syntax or configuration issue.

Your answer


Register or 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.