RTC Attribute Customization : Script based Condition not mandating the Date (Time Stamp) attribute
![]() Hi All,
I need to have a script based condition where the dependent Time Stamp attribute (Outage Start Date) should become mandate when theĀ other Enumeration attribute (System Outage) is "Full Outage".
Why conditions are not working for Time stamp, I can able to save even 'Outage Start Date' is 'None'? I have configured this script with the pre-condition 'Required Attribute for Condition' and Dependencies for the attributes also. Request you to assist on this.
Regards,
|
Comments
Have you tried to debug your code on the server side? That's where you can prevent the work item from being saved.
Hi Donald,
Thanks for you quick reply.
I have added this Pre-Condition for Save Work Item (Server) only.
Thanks,
Prabhu.
You still need to debug, and at least make sure the script does get executed - depending on your role assignments and configuration, it may not get executed at all.