How can I pass data from a Flow to a Subflow?

Casey23
Tera Guru

Hello,

I'm wondering if someone can show me at a basic level, how to pass data from Flow to a Subflow?

In my flow, I have a section that checks a table for certificates that are about to expire. Then for each of those records, I'm calling a Subflow which will generate tasks to the necessary teams to review and take action on those records. My sub flow is extremely basic right now so I can work on figuring this out. But the way it's setup right now, I have an input (pictured below) that references the Certificate table. Then I have a single action (for now) that creates a  REQ. As you can see I am trying to add the certificate's name to the short description of the REQ, however it's not coming across (see the REQ pictured below). Eventually I'll update Subflow to create a RITM and TASK as well as include more data from the certificate record.

I'm assuming that my inputs on the Subflow aren't setup correctly, or I am not doing something in the Flow that's necessary for me to reference the data in the Subflow.

Looking forward to any assistance that someone might be able to provide! TIA

Flow:

find_real_file.png

Subflow:

find_real_file.png

REQ:

find_real_file.png

1 ACCEPTED SOLUTION

Cris P
Tera Guru

Hi there,

So you have called the subflow in your flow, something like this@:

find_real_file.png

As you can see, we can pass it the input from our main flow. Is the subflow saved and Published?

View solution in original post

3 REPLIES 3

Cris P
Tera Guru

Hi there,

So you have called the subflow in your flow, something like this@:

find_real_file.png

As you can see, we can pass it the input from our main flow. Is the subflow saved and Published?

First off, my apologies for not picturing the important part of the Flow. Secondly, I can't believe it was that easy. Haha! It turns out I hadn't added the reference to the certificate record. After doing that, it worked successfully. 

Thank you!

find_real_file.png

No worries! Flow does have a lot of 'gotchya's'! Sometimes it is very helpful to just have a second pair of eyes go over your logic!