- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2024 09:51 AM
Hello,
I am trying to validate that a user record is not "guest" in this flow. For context I'm using the inbound email action to create tickets targeted at a specific email address. I need to exclude tickets being created for external emails (guest users) for this flow specifically.
The solution I came up with is to look for the user record associated with the inbound email. If it is a guest user, we don't need to create the ticket. Inbound external emails are used elsewhere on the platform so I cannot filter the domains explicitly for the whole instance.
When building out the flow I'm running into an issue with not being able to validate the user record reference in an if condition. In the below screenshot I would expect to be able to select the user record from Step 2 and validate it in the if condition. However, the value is greyed out. Am I missing something here?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2024 10:51 PM
use the Status output from Lookup record which tells you Success or Error means record found and not found respectively
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
10-18-2024 07:59 PM
Hello TFisher,
I have created sample flow in my PDI in Global and Scoped applications. I don't see any issue in selecting user record. I hope you selected sys_user in your Look Up Record action. Also, please verify your roles.
Please mark helpful, if it resolve your issue.
BR,
Suman.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2024 10:51 PM
use the Status output from Lookup record which tells you Success or Error means record found and not found respectively
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