How to get output from subflow

GBS
Tera Contributor

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

GBS_0-1741354133440.png

 

12 REPLIES 12

@Ankur Bawiskar I'm getting the error after assigning the value to the subflow output and after saving the subflow 

@GBS 

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.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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]

****************************************************************************************************************

Viraj Hudlikar
Giga Sage

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.

Pavankumar_1
Mega Patron

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?

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar