Who has the access to create a Universal Request and what is the property
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 12:40 AM
Hello Experts,
To raise a universal request, is it mandatory to have a role or any user can raise it ?
Also when a Universal Request is created via an OOB inbound action "Create Universal Request", what is the role of the condition below :
!gs.nil(gs.getProperty("sn_uni_req.ur_email")) && email.recipients.split(",").some(function(recipient) { return gs.getProperty("sn_uni_req.ur_email").toLowerCase().indexOf(recipient.trim().toLowerCase()) > -1; });
This inbound can be found in - /sysevent_in_email_action.do?sys_id=db672f79530320107465ddeeff7b12c2&sysparm_view=&sysparm_record_ta...
Please help me in this , as i am not able to reach to the conclusion how it is getting created based on the condition,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 12:42 AM
@Ankur Bawiskar ...Can you help here ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 12:45 AM
Explanation about the inbound action
Regarding the condition in the OOB inbound action "Create Universal Request," the condition checks if the property sn_uni_req.ur_email
is not empty (!gs.nil(gs.getProperty("sn_uni_req.ur_email"))
). It then verifies if any of the email recipients match the email address specified in the sn_uni_req.ur_email
property. This ensures that the inbound email action is triggered only when the email is sent to the specified address
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
02-18-2025 12:55 AM
@Ankur Bawiskar As per the below screenshot in property , the value is "request.help@example.com" (which is not valid email) and in my case the recipient will be my instance email address, so the condition is not satisfying or it is failing, but still the Universal Request is getting created. how ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 03:44 AM
I will suggest try to debug by removing the conditions from condition field and add that in script and debug the condition 1 by 1
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