How to make variables mandatory or readonly if sc_task state will move cancell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Everyone,
I need some guidance on a ServiceNow requirement.
When the SC Task (sc_task) state changes to Cancelled, I want to make certain catalog variables either mandatory or read-only.
What is the best way to achieve this? Should I use a Catalog Client Script, UI Policy, Business Rule, or another approach?
Any suggestions or examples would be appreciated. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
if you are planning to make sure those variables are mandatory before cancellation then you should use onChange client script on sc_task, before update BR on sc_task as User can cancel it from list as well
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader