Make Additional Comments on RITM as mandatory if associated sc_task is on Hold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 02:13 AM
Hi All,
I am trying to meet a requirement,
Scenario:
Whenever a SC Task is set to "On Hold", the following should happen:
• Show Add Comments on RITM, as mandatory
• Shows the "Add Comments" as long as the checkbox "on Hold" is checked where major condition is to show Add Comment mandatory when onHold on Sctask is checked for the first time.
I have tried to create a flag variable on RITM, and trying to update it when it is checked for the first time, and then on change of that I am writing client Script to make it mandatory.
But that flag variable is visible on the form, and i dont want to make it visible.
Please suggest some other way to achieve the requirement.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 02:25 AM
you can hide the flag variable using UI policy and set it with higher order so that it's displayed towards the end of the form, so that by the time user scrolls down the UI policy will hide it
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 03:35 AM
thanks @Ankur Bawiskar
Can you please tell, if I need to meet this requirement,
I need to make additional comment on RITM as invisible if onHold checkbox is checked on the associated sctask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 04:07 AM
I already informed the workaround above.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader