Starting a group twice cancels already active group
book
Article ID: 84897
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation Engine
Issue/Introduction
Error Message : N/A
Starting a group twice cancels already active group
An error has been fixed where an already active group has been canceled if the group has been started a second time. Not only the second start failed with error "7010 group already running" - also the active group gets canceled with same error.
Steps to reproduce the issue if necessary: Steps for reproduction (the xml export can be found attached in this KE article. Name of the object: repro_JOBG_Issue.xml) *) start shortly one time after another workflow "JOBP_DE_AUC4UC4000_TESTGRUPPE_FAULT" *) the first task of this WF is a script object, the second task is a JOBG *) the workflow is started twice, the JOBG has activated "Max parallel running task = 1"
In this situation the first run of the workflow starts workflow waiting for JOBG and then starts the JOBG, so the registered workflow starts. The second run also starts a workflow which is regeistered for JOBG (JOBG has max parallel 1 set). Then it tries to start the JOBG again which results in an error and the workflow ends: U0007010 'JOBG_DE_AUC4UC4000_TESTGRUPPE_FAULT' is already running. Groups may not run parallel.
So far the behavior seems alright. But when the second run of the workflow causes the error and ends, the JOBG task in the first workflow run also gets the status "FAULT_ALREADY_RUNNING - task is already running". And this causes the workflow to never end, the JOBG task remains in this status and the workflow is stuck.
Cause type: Defect Root Cause: An already active group has been canceled if the group has been started a second time. Not only the second start failed with error "7010 group already running" - also the active group gets canceled with same error.
Resolution
Update to a fix version listed below or a newer version if available.
Fix Status: Released
Fix Version(s): Automation Engine10.0.8 - Available Automation Engine 11.1.4 - Available Automation Engine 11.2.2 - Available