Issues in script conditions execution
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,
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,
One answer
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.
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.
Comments
Akshay Panchakshari
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.