Pass user name in decision table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi community,
I was hoping if there is way to pass user_name (string) field from flow to decision table.
I have set trigger on flow which is created or updated by certain AD accounts and in the flow I have called the decision table which is taking the user_name from flow and should be using it as a input and in the decision table I have given condition user ID contain @Example.com and @abc.com and in results I am populating the company and location. After all this happens I have got a update record in flow which should ideally populate the value from the decision table to the user record. But as per the Logs its not fetching the company and location . Please ignore the logs in the flow. I have also tried input as reference but that also did not work is there any other way or how can refine this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
so when flow runs, what input is passed to decision table?
Did you test the decision table if Contains operator works fine?
💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
It worked fine for me.
Seems you are not passing the correct user_id as input to Decision table from your flow
💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi @Ankur Bawiskar,
Yes when I pass the user id while testing the decision table it does work but its not taking user_name which is also a string field when I use the decision table in flow