- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2025 05:49 AM
I have written below script and checked Inherited its is executing on task table but not working on extended tables like incident not getting what is the issue
@Atul Gupta @Ankur Bawiskar @itsm @Developer
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2025 06:33 AM
Always UI policies will have higher priority because UI policies will execute after form loading where as Client scripts will execute with form loading.
Now the reason why your client script is not working is because of "Make fields read-only on close" UI policy on Incident table.
As per that UI policy, the state field becomes read-only, only when the state is closed or cancelled.
To achieve your requirement, you need to either deactivate the ui policy or create new ui policy under incident table.
Hope this helps.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2025 06:33 AM
Always UI policies will have higher priority because UI policies will execute after form loading where as Client scripts will execute with form loading.
Now the reason why your client script is not working is because of "Make fields read-only on close" UI policy on Incident table.
As per that UI policy, the state field becomes read-only, only when the state is closed or cancelled.
To achieve your requirement, you need to either deactivate the ui policy or create new ui policy under incident table.
Hope this helps.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2025 07:00 AM
Thanks @J Siva