Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Pass user name in decision table

chiragpathak
Tera Contributor

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?

chiragpathak_0-1760073830304.png

chiragpathak_1-1760073907031.png

 

7 REPLIES 7

@chiragpathak 

in the flow execution did you check what went as input to Decision table?

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Anand2799
Tera Guru

Hi @chiragpathak ,

 

Could you please provide the screenshot of your flow decision action?

How are you passing userid to the decision table?

 

Make sure decision table is published.

 

Thanks

Anand

Hi @ Anand2799 ,

chiragpathak_0-1760097964434.png

I hope this helps