How to get result from a child workflow back to the parent workflow?
Hi all,
I have a parent workflow which calls child workflow with state name "get_workspace_id".
Inside the child workflow I do some data processing and eventually I want to pass the result of Javascript back into the parent workflow. The data reference of the result is: {{states.state_in_child.javascript.run_script.result}}
In the parent workflow I put at the very end "Compose Text" action to check if I get the result that I want back to parent workflow. I put following here, but I always get the actual string itself. What am I missing here? FYI, it is confirmed that child workflow runs properly with the expected result.
Thanks all, cheers!
Best Answer
-
Hi @Genevieve P. ,
thank you for the answer, I did check your discussion in another post closely and apparently I need to remove the number of runs. Previously I set it to 1 and therefore it isn't able to get the correct value.
Thank you! :)
Answers
-
Hey @srv_pgs
I just had a similar discussion with @akhalid in this post: Bridge: Reference data from child workflow in the parent workflow
Can you clarify if your Child Workflow: get_workspace_id has a "Number of Runs" value set?
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi @Genevieve P. ,
thank you for the answer, I did check your discussion in another post closely and apparently I need to remove the number of runs. Previously I set it to 1 and therefore it isn't able to get the correct value.
Thank you! :)
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives