Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-2190

The expression of the orderId pattern of an AddOrder instruction requires a function to provide a unique orderId

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.3
    • JS7 Controller
    • None

    Description

      Current Situation

      The orderid pattern of an AddOrder instuction is unique per millisecond and position of the instruction.
      If an AddOrder instruction is used in a Forklist then it has inside the Workflow JSON the same position for all later generated branches.
      If this AddOrder instruction is also used as the first instruction of the Forklist, then all childOrders will reach the AddOrder instruction in the same millisecond and the generated orderIds are no longer unique.

      Desired Behavior

      A function in the expression of the orderId pattern should ensure uniqueness.
      Due to the format of the orderIds, this function should return two digits that are unique within one millisecond.
       

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              oh Oliver Haufe
              Oliver Haufe Oliver Haufe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: