Map variables to description field on incident form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 01:58 PM
Hey guys,
On record producer, when an incident is raised on behalf of an affected user by their manager, or is raised by there manager's manager or any other additional manager to reset password autopulate the descriotion field with caller, affected user, email and date.
Firstly, how do i use the if else if condtion for the above? only the if condtion for when a n indient is raised by affected user's manager works the else if for other conditions don't work.
There is a script that checks if email or location is empty, populate description field with short description and affected ci. I only want to update/include the above to the script. i need to update the script to check for the above conditions. If the caller is requesting the reset only popluate email and date in the description field.
There are no variables declared on the script.
I appreciate your guidance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 08:35 PM
@Community Alums
share that script here along with screenshots.
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
05-01-2025 09:54 PM
Hi Ankur.
Here is the script snippet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 10:14 PM