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.

Attempting to use Decision Table to assign group in Flow Designer - Not getting any values?

Mattg123
Tera Contributor

Hi All,

 

I am attempting to create a flow to route approvals to a certain group for approval. In order to select the group, I am using a decision table (built with decision builder) as there are currently 4 groups but it will be growing over time. Well I created a decision tree, and it is evaluating the correct decision, however flow designer is receiving a blank result.

 

As you can see in the screenshot, the first decision is evaluating as true. In my decision builder, it results in a reference from the sys_user_group table. In my log message you can see that that returns blank, however. I would expect at least a sys Id here.

 

Mattg123_0-1670510028607.png

Mattg123_1-1670510219540.png

 

 

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

After each decision, you would need to add an Ask for Approval.

 

Screen Shot 2022-12-08 at 9.46.51 AM.png

View solution in original post

4 REPLIES 4

Michael Fry1
Kilo Patron

After each decision, you would need to add an Ask for Approval.

 

Screen Shot 2022-12-08 at 9.46.51 AM.png

Thank you, this worked. I thought it would just store the result after evaluating, and I can use it at anytime, but I guess I thought wrong. A little annoying since I need to do additional things with the group later on in the flow

I haven't tried but maybe you could write it to a Flow variable and then use the variable in your single Ask for Approval?

Yep! This did it and works for my needs.