how to pass variables from parent workflow to child workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2018 06:32 AM
i need to pass the value from test1 to test2
first workflow
2nd workflow
Where did i go wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2018 07:03 AM
even i too have the same problem , i tried the above link but didn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2018 07:08 AM
Hi,
can u included child workflow in parent using sub flow activity?
Thanks and Regards,
Apurva Malewadikar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2018 07:20 AM
no i need to create separate Two workflows separately as mentioned above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2018 07:33 AM
no i should not use subflow activity rather i need to work with two workflows which acts parent and child
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2018 07:11 AM
In your example, the 2nd workflow called "varchar", you need to check it out and add workflow inputs to that workflow in ther workflow properties. Here is an example of a subworkflow (child workflow) we are using and the inputs on it:
Then, we you open the child workflow inside the parent workflow, it will look like this:
In the above screenshot you can see how to pass variables to the child workflow. You use scratchpad variables.
So in your parent workflow, you would have a run script that has something like this in it:
workflow.scratchpad.userid = current.text1 //this will set the text 1 field data to a scratchpad variable, which you can then pass to the child workflow inputs
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
