Attach SOP field to Incident when state of INCIDENT state changes to Resolved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
When Incident state is changed to resolved the "SOP Attached" field should be mandatory and in "SOP Attached" field there should be two options YES and NO .
If Yes is selected (user have to attached the SOP document) and once SOP is attched then resolve the incident.
If not is selected user can able to resolved the incident directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
it's an easy requirement.
what did you start with and where are you stuck?
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
a month ago
I have attached "SOP Attached" filed to incident and now i want to add Attachment if "SOP Attached" field is selected as "YES".
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
you can use UI policy on State field to show this new field.
Then another before update business rule which runs on State Changes To Resolved AND SOP Attached = yes
Script:
check if user has attached any file in sys_attachment with particular name of SOP file
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Can u please help me in scripting.
and also when SOP Attached = yes it should populate alert message (Please Attach Document)
Thanks