Formatter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 04:14 AM
Hi Team,
Can we call formatter on case form and make it mandatory as per assignment group changes?
Thanks & Regards,
Reena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 05:11 AM
Hi Ankur,
This formatter thing somehow I sorted but the thing is like whenever the assignment group changes the digital signature is required on case form . I implemented the logic using script include and onsubmit client script. But I am stuck at one point. First time it asks for digital signature , if I select the have you signed field as no. But 2nd time it doesn't ask , it saya signature found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 05:13 AM
Below are my script include and client script code-
Script include:-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2025 05:19 AM
don't use onSubmit as by the time script include function checks the form will be submitted a syou are using Asynch GlideAjax.
Please use before update business rule.
Also ensure you query sys_attachment with the file name as well or else your logic will simply check if any image is present.
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
04-02-2025 12:35 AM
Hope you are doing good.
Did my reply answer your question?
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
03-24-2025 04:33 AM
I don't think you can make it mandatory.
What you can do is validate using before update business rule if Assignment group changes then an entry is made into signature table for your current record
If not then abort the update.
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