Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to set up Decision Table to create catalog tasks in Flow?

gjz
Mega Sage

I want to use a decision table to determine which catalog tasks need to be created in a flow, but I'm struggling with how it should be set up.

 

The catalog item is for a specific software and has an "Action" variable, it's a select box with the choices of Add a user, Remove a user, Change a user, Add mobile app only, Remove mobile app only.  Depending on what is selected, I need multiple catalog tasks for different teams to be created in parallel.

 

For example, if Add a user is selected, 5 catalog tasks need to be created for 5 separate teams, all at the same time, they are not dependent on each other.

 

1. I want to use the select box question choice/value as a choice (not string) input to the Decision table so I only have to maintain it in one spot, not two.  Can that be done? Where are the question choices stored and how can I make sure I'm selecting the one that belongs to the software catalog item.  There is more than one catalog item with the variable "Action".

2. If I'm forced to use a string input, what is the syntax for the value of "is one of"?

gjz_0-1697137077198.png

 

3. Can I have multiple results?  If I choose Assignment group as the result in the decision table, how do I represent 5 assignment groups that I can use to create catalog tasks in the flow?  Is this even possible?

4. If multiple results are possible, how are they used in a flow?  With a For Each loop?

 

I'm trying to accomplish this:

ConditionResult
Action = Add user or Remove UserTeam A, Team B, Team C, Team D, Team E
Action = Change UserTeam B, Team E
Action = Add mobile app only or Remove mobile app onlyTeam C

 

This was so much easier with a Switch statement in Workflow!

0 REPLIES 0