Starting a Group 2x Cancels Active Groups

Document ID : KB000084424
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U0007010 'JOBG' is already running. Groups may not run parallel.

An already active group is canceled if the group is started a second time. Not only the second group fails with the error, also the active group gets canceled with the same error:

U0007010 'JOBG' is already running. Groups may not run parallel. 

Investigation
  1. start shortly one time after another workflow "JOBP_DE_AUC4UC4000_TESTGRUPPE_FAULT" (see attached XML export)
  2. the first task of this WF is a script object, the second task is a JOBG
  3. the workflow is started twice, the JOBG has activated "Max parallel running task = 1"
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 registered for JOBG ( where JOBG has max parallel = 1).  Then it tries to start the JOBG again, which results in an error and the workflow ends:
 
U0007010 'JOBG' is already running. Groups may not run parallel.

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".  This causes the workflow to never end, the JOBG task remains in this status and the workflow becomes stuck.
 
Cause:
Cause type:
Defect
Root Cause: N/A
Resolution:
Upgrade the Automation Engine to a newer build version.

Fix Status: Released

Fix Version(s):
Component(s): AE

Automation Engine 12.0.0 - Available
Automation Engine 11.2.2 - Available
Automation Engine 11.1.4 - Available
Automation Engine 10.0.8 - Available
Additional Information:
Workaround :
N/A
File Attachments:
repro_JOBG_Issue.xml