Can I resuse a flow for multiple catalog items?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 03:24 AM
I have created a flow for approval of a catalog item. The process is same for multiple catalog items. However I am unable to use the same flow because the Template Catalog Items and Variable Sets field is mandatory. How do I make this generic to suit other catalog items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 03:42 AM
Hello,
Once way to handle this is to use the same variable set for all the catalog items and in the variable set create UI polices on which one should be visible based on the catalog item.
This way it would be possible to use it in multiple flows.
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 04:10 AM
What if I have different variables for different catalog items? Can I still make it work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 04:27 AM
It should work right as the variables will be hidden based on the catalog item you are selecting
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 04:10 AM
Hi @vidhya_mouli ,
Please create a custom action as shown below for getting the variables of multiple catalog items.
In the custom action, Just pass the triggered Requested Item as shown below.
In the script step, check the catalog item and map the respective variables as follows.
Now map the required output variables and also make sure the output variables are created in the output section of custom action