Overview
Your application creates instances of subprocesses. The subprocess template consistently fails to be created because its' parent work step in the application suspends. The parent work step can be resumed without issue.
Your application is passing multiple documents to the subprocess.
Below error message is thrown in the BizLogic log file:
Exception occurs during workstep execution for PI <Application123>, Workstep <Workstep345> at <WFWorkstepInstance.runIt> | EJB default - 4 |#]
java.lang.NullPointerException
at com.savvion.sbm.bizlogic.server.WFNestedInstance.createDSFolder(WFNestedInstance.java:618)
at com.savvion.sbm.bizlogic.server.WFNestedInstance.execute(WFNestedInstance.java:119)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.startWorkstepExecution(WFWorkstepInstance.java:2267)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.runIt(WFWorkstepInstance.java:1794)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.activate(WFWorkstepInstance.java:1282)
at com.savvion.sbm.bizlogic.server.WFProcessContext.activateWorkstep(WFProcessContext.java:1091)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.activateWfWorkstep(WFWorkstepInstance.java:1061)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.activateNextWorksteps(WFWorkstepInstance.java:1035)
at com.savvion.sbm.bizlogic.server.WFConnectorInstance.complete(WFConnectorInstance.java:150)
at com.savvion.sbm.bizlogic.server.WFConnectorInstance.execute(WFConnectorInstance.java:121)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.startWorkstepExecution(WFWorkstepInstance.java:2267)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.runIt(WFWorkstepInstance.java:1794)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.activate(WFWorkstepInstance.java:1282)
at com.savvion.sbm.bizlogic.server.WFProcessContext.activateWorkstep(WFProcessContext.java:1091)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.activateWfWorkstep(WFWorkstepInstance.java:1061)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.activateNextWorksteps(WFWorkstepInstance.java:1035)
at com.savvion.sbm.bizlogic.server.WFConnectorInstance.complete(WFConnectorInstance.java:150)
at com.savvion.sbm.bizlogic.server.WFConnectorInstance.execute(WFConnectorInstance.java:121)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.startWorkstepExecution(WFWorkstepInstance.java:2267)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.runIt(WFWorkstepInstance.java:1794)
at com.savvion.sbm.bizlogic.server.WFWorkstepInstance.activate(WFWorkstepInstance.java:1282)
Solution
This is a known issue when passing multiple documents to the subprocess.
The issue has been fixed in Aurea Process version 2021 R2. Please upgrade to version 2021 R2 or later to have the fix applied.
Note: There is no plan to release Hotfix for 2020 R1 containing this fix.