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.

Decision table not properly filling in the information to Flow

martinkruml
Tera Guru

Hi all,

 

I am creating currently a Flow/automation, where I have decision table, which contains 10 different "Functions".

 

Based on selected Function, user should then be added into the Profile Groups(defined Groups), and each function has minimum of 2 groups to be assigned.


I have created a decision table, where I defined these Functions and based on selection, I created result columns, however, whenever I try to "Make decision", that step is giving output result Empty (Type=Document ID) for unknown reason to me. 

 

Anyone would know how to bypass this or possibly how to make this work somehow? The table/choices should also be easy maintenable, that's why, I went with Decision table.

martinkruml_0-1764242569059.png

 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@martinkruml 

seems the way how you configured the Decision table has some issue in it

share screenshots of your decision table, what is the input, what's the output

Is your flow Configured to Run as System user?

see this link

No output returned when decision is executed in 'User-Initiated Session' flow 

💡 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

Hi, flow is configured to run as system user.

 

This is the decision table. It's input is a made choice, which user is picking up on form of the Catalog Item. That is also picking up in the flow and based on that, it should make a multi-row decision.

 

martinkruml_0-1764245521158.png

 

I now also tried to put the "result" columns as "Strings" to return the value, but that returns the value only if I won't leave "Default Result" empty, but that of course is not desired, because it would have fill always the values. 

Deepak Shaerma
Kilo Sage
Kilo Sage

Hi @martinkruml 

Before directly using the Decision table in the flow, have you test it on decision table form ?? by giving some values.
If you test it before and getting the correct output, Please let me know.

Happy to help! If this resolved your issue, kindly mark it as the correct answer and Helpful and close the thread so others can benefit too.

Warm Regards,

Deepak Sharma

Community Rising Star 2025