Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
2.5.10, 2.7.0
-
None
Description
Current Situation
When adding an order to a workflow for a Block Position and Start Position inside a ConsumeNotices Instruction then the following problem occurs:
- The first job inside the ConsumeNotices Instruction is executed
- A further job will not be executed if it makes use of a different Agent.
- The following error messages are logged in the Controller and Order log files:
- Controller Log:
2024-12-04T16:27:55,130 info js7.journal.Journal - Event Order:#2024-12-04#T31347508721-root <-: OrderAdded(Workflow:ConsumeNotices_WorkFlow) 2024-12-04T16:28:05,206 info js7.journal.Journal - Event Order:#2024-12-04#T31347508721-root <-: OrderOutcomeAdded( Disrupted(Other(Unknown job name 'JOB2'))) 2024-12-04T16:28:05,265 info js7.journal.Journal - Event Order:#2024-12-04#T31347508721-root <-: OrderFailed(0/consumeNotices:0,None)
- Order Log:
2024-12-04 11:58:05.182+01:00 [DETAIL] [OrderOutcomeAdded] id=#2024-12-04#T31347508721-root, pos=0/consumeNotices:0, Error (status=failed, reason=disrupted, msg=Unknown job name 'JOB2') 2024-12-04 11:58:05.242+01:00 [ERROR] [OrderFailed] id=#2024-12-04#T31347508721-root, pos=0/consumeNotices:0, Error (status=failed, msg=Unknown job name 'JOB2')
- Controller Log:
Desired Behavior
When starting a workflow from a Block Position inside a ConsumeNotices Instruction then all jobs should be executed independently from Agent assignment.
How to Reproduce
- Import the ConsumeNotices_test.zip file attached to this JIRA ticket.
- Assign JOB1 with the server1 Agent.
- Assign JOB2 with the server2 Agent.
- Deploy the workflow and go to the Workflows tab.
- Add an adhoc order to the workflow with the following inputs:
- Block Position: ConsumeNotices
- Start Position before Instruction: JOB1
- Submit the order.
Maintainer Note
- This problem is introduced with a 2.7.2-SNAPSHOT release.
- This problem does not affect released versions of JS7.