Passing a variable value from subflow to Parent Flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 07:51 AM
Hello All, I need to pass variable value from "sub-workflow" to "parent-workflow".
Can anyone help me in achieving this.
Thanks!
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 04:30 PM
Hello,
yes, thank you for copying and pasting the response here:
The individual above did not asking for multiple values to be mapped back, if they would have, I would cover that...
Instead you did not cite the source, thus pretending that it's your own.
Please give credit where credit is to to other posts...
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 08:32 PM
Hello All,
After trying all the above methods I realized that i misunderstood my requirement. My actual requirement is below
I have two wf A and B. A is Parent and B is child(Subflow). Actually B wf has 5 catalog tasks at third catalog task a variable for instance "sample" is visible and mandatory(on RITM too). But this variable is not showing when wf B is triggered as subflow from Parent A.
Any help is appreciated.
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 10:00 PM
Hi,
I want to add one more point to
and in parent workflow specify scratchpad variable of subflow in Map return value to -: workflow.scratchpad.v1
Thanks,
Kunal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 07:20 AM
Hi Kunal,
Your response is helpul. This is all we have to do in passing a value to parent flow from subflow? or do we need to do any other extra step like below after performing above steps
in run script in Parent flow - current.variables.v2 = workflow.scractpad.v1 ??
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2020 05:20 AM
Kutti...this is a completely different question altogether?
Not sure how that happened, but you may be best creating a new question so that the conversation can continue effectively there. Here, it's about the issue you made above.
Please mark my reply above as Helpful & Correct as far as using those methods to carry a subflow value back to the parent.
Create a new question and we can assist you there?
Thanks
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!