Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1977

AddOrder Instruction inside a ForkList Instruction should not create duplicate Order IDs

    XMLWordPrintable

Details

    Description

      Current Situation

      A ForkList Instruction in a workflow including an AddOrder Instruction does not create an order for all entries in the currently assigned list variable. For some entries, the following error is raised

      2024-12-12 14:59:40.448+01:00 [ERROR] [OrderFailed] id=#2024-12-12#T01558025106-test92|60.60, pos=0/fork:0, Error (status=failed, msg=DuplicateKey: Duplicate OrderId '#2024-12-12#D01198038200-2024121201558025106!-test92')
      

      Desired Behaviour

      When using an AddOrder Instruction inside a the ForkList Instruction an order must be created for each element of the list variable.

      Attachments

        1. JIRA-JOC-1977-AddOrder.workflow.json
          50 kB
        2. JIRA-JOC-1977-ReceiveOrder.workflow.json
          0.6 kB
        3. JOC-1977.zip
          2 kB
        4. order-3043.log
          18 kB
        5. wf-1977_order.log
          8 kB
        6. wf-1977.workflow.json
          2 kB
        7. wf-add_order_1.log
          2 kB
        8. wf-add_order_2.log
          2 kB
        9. wf-add.workflow.json
          0.6 kB

        Issue Links

          Activity

            People

              ap Andreas Püschel
              ur Uwe Risse
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: