Error Message :
In a running Workflow, if you add a sub-workflow which contains the script statement :STOP NOMSG in the process tab the following happens:
- In the activities window the sub-workflow is stuck in an ACTIVE status.
- In the statistics of the sub-workflow it indicates that it ended in a status of ENDED_EMPTY or FAULT_OTHER.
- The master workflow gets stuck in a status of ACTIVE because the sub-workflow does not end and is also shown as ACTIVE in the activities window.
In the following example a test workflow was edited during runtime and the PJOBP.BUGTEST.CHILD was added.
PJOBP.BUGTEST.CHILD contains :STOP NOMSG in the process tab:
OS Version: N/A
Root Cause: The sub-workflow does not get the correct end status.
Update to a fix version listed below or a newer version if available.
Fix Status: Released
Component(s): AE Server and Initialdata
Automation Engine 12.1.0 - Available
Automation Engine 12.0.2 - Available
Automation Engine 11.2.5 - Available
Cancel the sub-workflow manually.
If the sub-workflow is added before starting the master workflow, it will result in the sub-workflow ending with an ENDED_EMPTY status and the master workflow finishes with as status of ENDED_OK.