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

Orders remain in waiting state with ExpectNotices Instruction and ConsumeNotices Instruction despite the Notice being posted

    XMLWordPrintable

Details

    Description

      Current Situation

      • Orders waiting at an ExpectNotices Instruction or ConsumeNotices Instruction remain in a waiting state, even after the corresponding Notice has been successfully posted by a PostNotices Instruction.
      • The issue will not occur if the PostNotices Instruction is executed earlier to an order arriving with the ExpectNotices Instruction.

      Steps to reproduce

      1. Import the JOC-2043-simplified.zip archive and deploy the Notice Board and Workflows.
      2. Add an order to workflow JOC-20243-Workflow-02 which contains an ExpectNotices Instruction; the order will be put to the waiting state.
      3. Add an order to workflow JOC-20243-Workflow-01 which contains a PostNotices Instruction; when the Notice is posted, then the order iwill remain in the waiting state with workflow JOC-20243-Workflow-02.
      4. Add another order to workflow JOC-20243-Workflow-02, the order will run successfully.
       
      Desired Behavior

      Once a PostNotices Instruction posts the related Notice, any orders waiting in a matching ExpectNotices Instruction or ConsumeNotices Instruction should resume execution.

      Maintainer Notes

      • The problem is introduced with release 2.7.4 that brings schedulable Notice Boards.
      • When Global Notice Boards are used that specify the match condition Matching Daily Plan Date, then it is an option to switch the Notice Board type from "global" to "schedulable". This will prevent the issue and will result in the same dependencies.

      Attachments

        Activity

          People

            jz Joacim Zschimmer
            ap Andreas Püschel
            Andreas Püschel Andreas Püschel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: