Need to auto populate the incident location and phone based on the affected user in the mobile agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 06:46 AM - edited 11-05-2024 06:46 AM
Hello,
I have a requirement to auto populate the incident location and phone field based on the Affected user details on the mobile when creating an incident. This works on the desktop ui but I am unable to get the same results in mobile. I updated the mobile action item with the script below but it is not working at all. I'm not sure what I am doing wrong. I also would like the affected to be the same as caller by default. I tried a client script with a script include and that did not work either. I need guidance on what to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 06:54 AM
what have you configured which works in desktop UI?
Is that a BR? If yes then why not same BR to be used for mobile?
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
11-05-2024 07:00 AM
Hello Ankur, There are 2 client scripts already that was created when ServiceNow was implemented but they dont work in mobile agent.
1. Copy Caller to Affected user ( on change ) where the field name is caller_id