Use the catalog item select box choices as input to decision table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 11:21 AM
I want to use a decision table in my flow to determine what catalog tasks (and their assignment group) should be created based on the data that was selected when a request is submitted.
The catalog item uses a select box to determine the "action" to take, I want to use these choices as the input to the decision table but I don't know what table they are in so I can use them as the input choice list in a decision. Ok, I admit this is confusing.
On the catalog item, the Action variable is a select box and these are the choices:
In the decision table, I want to use the question choices as the input and reference the variable choices so I don't have to maintain them in two separate areas. What table to I select? How can I be assured the correct list is selected since I only see one field as an option? There is more than one catalog item variable named "Action".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 11:46 AM
so the variable select box options are selected and you want to set catalog task and Assignment group based on those Options selected?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 12:02 PM
Yes, essentially I need some way to accomplish the following. It was so much easier in workflow with the Switch statement!
Condition | Result |
Action = Add user or Remove User | Team A, Team B, Team C, Team D, Team E |
Action = Change User | Team B, Team E |
Action = Add mobile app only or Remove mobile app only | Team C |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 12:56 PM
in that case why dont you use multiple If conditions (Flow logic) and validate each option i know this can be long but easer to do that.
try 1st If condition met 1st option and if true create task or validate for the second option
5 option 5if conditions.
hope this is helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 12:59 PM
It's an option and one I already tried. I ended up duplicating catalog tasks and it's messy to read. It's also difficult to get it correct when the tasks have to run in parallel.