The CreatorCon Call for Content is officially open! Get started here.

Decision Table – Select More Than One Branch

PauloMF
Kilo Contributor

 

 Hi folks, 

I'm trying to access more than one branch after a decision table choice. I have one case in the decision table that should trigger 3 different results and access 3 different branches, not just one.
PauloMF_1-1758907902471.png

 

I set Execution to "Run All Decisions that Match," but it didn’t work.

PauloMF_2-1758908198853.png
Does anyone have any idea how I could make this decision table run for all matching branches?

Thanks

 

1 REPLY 1

kaushal_snow
Mega Sage

Hi @PauloMF ,

 

A Decision Table (Make a Decision action) is designed to create one branch per matching result row, so even if multiple rows match, it won’t automatically execute more than one branch by default, the setting Run All Decisions that Match is more for evaluation, but the flow will still only follow one branch (or throw Answer is deleted if you remove mapping)......If you really need to act on multiple matching rows (ie perform actions for all matching branches), a common workaround is, Use a loop in the flow over the list of decision results (e.g. via a script or DecisionTableAPI), for each result, perform the required actions Or configure your flow with a parallel branch or subflow that can be called per matching result....

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/