We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Dynamic Approval using Decision Table

hanaphouse
Tera Guru

I have a decision table that uses [sys_user_group] as the answer table. However, I was having an issue that the approval needs to be set up for every answer which is pretty tedious. 


Is there an easier way similar to this below?


hanaphouse_0-1672670224226.png

 

This attempt returns this error and I have a decision table with 20 to 30 lines rows of decision and answers.

Flow Designer: Operation(Approval Mapping.996877c71bc4a9541ae12f0b234bcb55.5df22d920b10030085c083eb37673a04.Approval State Step) found invalid rule syntax: ApprovesAnyG[{{d68193f0-27b4-41c0-bff8-51e5a97bea09.answer}}]

 

2 REPLIES 2

laszloballa
Administrator

Yes - just make sure you map the resulting group of your decision table as an approval group in your 'Ask for Approval' action, like so:

LaszloBalla_0-1672676415684.png

 

Vish4
Tera Contributor

What if there are 100s of decision rows? Will this approach work?