Flow Designer - use "Variables" from current Catalog ITEM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2020 06:52 AM
Hey,
we deploy currently in our company a Global Service Catalog wit more than 200 Items.
I have currently the issue, that I need for each Catalog Item "static" Action for "Get Catalog Variables"
So I need for all 200 Catalog Items 200 specific Flows.
Is it possible to get e.g. all Variables "dynamic" from the current chosen Catalog Item?
Thank you very much

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2020 06:58 AM
Hi,
Most probably you need to write a custom action.
Pass catalog item as input and you can return the variables as output.
Finally, manipulate the output variables in the subsequent path.
Regards,
Anirban

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2020 09:41 AM
Adding some screenshots, might be helpful -
Step 1:
Create a custom action with input as the catalog item sys_id
Query the variables for the catalog item(catalog item value is passed from input)
Store the output of records in a variable
Step 2:
Call the action from a flow -
In this example, I have simply added the result inside the 'description' field of the RITM.
Step 3:
Run a test
Notice the variables returned for the catalog item (as sys_ids).
You may choose to return as an object using script in the action designer.
Please mark the answer helpful/ correct, if it helped.
Regards,
Anirban
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2020 11:07 PM
Hey Anirban,
thank you for support.
I think we are on the right way.
I think that I need a other solution...we want to work in our Service Catalog Requests with "cTasks" also we need the Variables in the cTask (see Attachment)
If I create this Custom Action, I dont got the Catalog Variables.
is there any option?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2020 12:33 AM
Hi,
I believe for this custom action may not help since it would require you to push the variables from left to right
this might be one of the limitation of flow designer. need to explore
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader