Error in a subflow while calling another subflow : Error While fetching Process plan for the subflow

kulbhusanazad
Tera Contributor

hi ,

In Tokyo Release,

Getting below error in a subflow which calls another subflow , the subflow being called does exist and is in published state , but not sure why the calling subflow fails with below error.

Please help or pointer or any Workaround to resolve this ?

 

failed with error: com.snc.process_flow.exception.OpException: Error While fetching Process plan for the subflow 150b2a31970415100efbb05e6253af82
at com.snc.process_flow.engine.subflow.StartFlowOperation.getSubflowPlanById(StartFlowOperation.java:136)
at com.snc.process_flow.engine.subflow.StartFlowOperation.getSubflowPlan(StartFlowOperation.java:212)
at com.snc.process_flow.engine.subflow.StartFlowOperation.run(StartFlowOperation.java:279)
at com.snc.process_flow.engine.Operation.execute(Operation.java:208)
at com.snc.process_flow.engine.restricted_caller_access.ExecuteWithCallerAccessTracking.executeWithMetaStack(ExecuteWithCallerAccessTracking.java:21)
at com.snc.process_flow.engine.ProcessEngine.executeOps(ProcessEngine.java:560)
at com.snc.process_flow.engine.ProcessEngine.runInternal(ProcessEngine.java:466)
at com.snc.process_flow.engine.ProcessEngine.run(ProcessEngine.java:452)
at com.snc.process_flow.engine.ProcessAutomation.run(ProcessAutomation.java:79)
at com.snc.process_flow.engine.GlideProcessAutomation.runSync(GlideProcessAutomation.java:137)
at com.snc.process_flow.engine.GlideProcessAutomation.runWithDomain(GlideProcessAutomation.java:252)
at com.snc.process_flow.engine.GlideProcessAutomation.lambda$runAsUserSync$1(GlideProcessAutomation.java:219)
at com.snc.process_flow.engine.PFSessionClone.run(PFSessionClone.java:70)
at com.snc.process_flow.engine.GlidePFSession.runPlanAsUserSession(GlidePFSession.java:42)
at com.snc.process_flow.engine.GlideProcessAutomation.runAsUserSync(GlideProcessAutomation.java:217)
at com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(GlideProcessAutomation.java:312)
at com.snc.process_flow.engine.GlideProcessAutomation.messageFlow(GlideProcessAutomation.java:277)

10 REPLIES 10

Sagar Pagar
Tera Patron

Hi @kulbhusanazad

 

Have you check the flow context logs for the same. There might be some issues in your sub-flow.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

The stack trace i posted is from the context logs itself

Yes, I have. That's the really weird part. A message displays indicating that it has says that it has published successfully. But then when I go back to the view list of the Subflows, it is still listed in a "Draft" status. When I reopen the subflow, the Publish button is ready to be clicked on again without me having taken any action.

Have you also checked the system logs to see if it's providing any more details? Have you verified all your action inputs are filled out, when you click on each action/step no further errors are thrown?