How to get output from subflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 05:32 AM
I have created a subflow and given input as requested item and in the actions I have created two catalog tasks and given the wait for condition and now I was unable to get the output of the subflow to the mainflow where I want to close the ritm in the mainflow. Any idea how to get the task state from the wait for condition? If I use assign subflow outputs the flow gets an error content not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 06:16 AM
@Ankur Bawiskar I'm getting the error after assigning the value to the subflow output and after saving the subflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 06:20 AM
So you published the subflow with your outputs.
Then added the subflow again and then accessing the output of that subflow in main flow
what's the error? share screenshots.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 06:12 AM
Hi @GBS
Echoing with Ankur, please check if the sub-flow is published, active, and correctly linked with the main flow.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 06:29 AM
Hello @GBS
Just checking your screenshot, you have used Create Catalog Task action and after that wait for condition is it waiting for Catalog task state? If yes, why are you adding this extra wait as in the Create Catalog Task action there is Wait checkbox present if its mark as true then until your task is updated to close complete/incomplete/skipped.
Also, can you provide more screenshot, if possible, to provide better resolution for the issue you are facing.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 06:38 AM
Hi @GBS ,
is this resolved ? if not can you explain in detailed what you are trying to do and where you are getting an issue?
ServiceNow Community MVP 2024.
Thanks,
Pavankumar