Workflow publish issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2024 11:19 PM
Hi All,
I am having an issue while publishing an workflow, It is showing an following error "This workflow contains 2 invalid subflow. Invalid subflow cause the main workflow to hang. Look at the referenced subflow and correct it's state. Subflow are invalid when they are checked out by another user, inactive, have been deleted or are not present on the current instance."
I am getting this error because someone has made other subflow publish false which maybe used in main workflow which I am working on. I have checked where inactive subflow is used in main workflow but I did not found anything in main workflow.
Also I don't want to publish subflow which is giving an error as it is requirement. How can I find missing subflow activity from main workflow so that I can publish my workflow or can someone suggest any other solution for the same.
Appreciate your help!
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 01:30 AM
Please share your workflow. The error states it's in there, so it must be in there somewhere. If you are absolutely sure, maybe first saving it and then publishing, to make sure nothing is 'hanging' from before.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 01:35 AM
Hi @Simran12
This workflow contains 2 invalid subflow. Invalid subflow cause the main workflow to hang. Look at the referenced subflow and correct it's state. Subflow are invalid when they are checked out by another user, inactive, have been deleted or are not present on the current instance."
Please check
- the sub flows are active and publish state.
- The incoming / out going proper defined in Sub Flow.
You need to publish the sub flow as well.
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
02-21-2024 05:03 AM
Hi AG,
Thank you so much for your response. As of now we have made that other subflow publish true as you suggested.
But my question was, in my main workflow I don't see the activity, which is related to subflow that we have publish, it is hidden somewhere I unable to find that. I don't want that subflow to be used in my main workflow and made publish. Can you guide me how can I find hidden used subflow activity in workflow. That will be really helpful!
Appreciate your response!
Thank you!
Simran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 05:12 AM
Hi @Simran12
Could you please share screen shot of your flow.
I don't want that subflow to be used in my main workflow and made publish
What is meaning of this, if Sub flow is published and as soon Flow get published , flow will work.
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]
****************************************************************************************************************