How to dynamically get requested item variables in a subflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 08:07 AM
I'm just now dipping my toes into Flows/Subflows and have a question about how to set up a subflow for requested items.
I currently have several workflows that order hardware, I would like to put the order steps into a subflow, but, I need the variables on each requested item to display on the subflow because they hold information about what needs to be ordered. How can I get the variables dynamically in the subflow?
For example, I have a computer catalog item and a monitor catalog item. In the current workflows for both, they have identical order/receive steps, but the information used to order them is different. I want to create a reusable subflow for the order/receive steps, but the people doing the work need to know what to do based on the variables.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 01:47 PM
I was thinking something similar, can't you pass the flow variable into the subflow pill (in the Flow itself) as an input, and use that in the subflow (in the subflow record)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 08:06 AM
Gabriel, I did try this option before creating my post but it doesn't work since the Create Catalog Task action will not allow you to use a variable - you have to select an existing Catalog Item from the list.