Flow designer

satya30
Tera Contributor

I created a flow and this is common for the 3 catalog items.

Now I wanted to trigger approval to the approval group only for the two catalog items using that flow.
Solution 1:
Now I had the option to use if condition to trigger request item and then write the functionality. But the functionality is same for all three items so I do not want to repeat 3 times the same logic by doing

if request item is A trigger approval "A" then functionality
else if request item B trigger approval "B" then functionality
else functionality (since no approval required for this item C)

Solution 2:

Here I can create a variable in catalog item where the approval group is stored
so in this case

we can have if and else where in

if part we can trigger approval(using variable) then functionality which works for 2 items
then else then functionality which will work for 3 rd item

Other than these two solutions do we have any other solution where we can only write the functionality once in flow designer commonly for all the three items and including the approvals for the two items?

Please let me know the solution what could be the best approach here.

Thank you

 

1 REPLY 1

Mark Manders
Mega Patron

See the answers in your duplicate question: https://www.servicenow.com/community/itsm-forum/flow-designer/td-p/3170142

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark