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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives