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

Retry instruction fails when used with a Resource Lock instruction

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Medium
    • Resolution: Fixed
    • 2.0.0
    • 2.5.0
    • JS7 Controller
    • None

    Description

      Current Situation

      • A SourceForge user reports the following Problem with resource Lock and retry block
      • The problem boils down to the fact that a Retry Instruction that specifies a retry interval >0s and that makes use of a Lock Instruction results in the error:
      [ERROR] [OrderBroken] id=#2022-10-19#T18561471461-root, pos=0/try+1:0, Error (status=failed, code=InapplicableOrderEvent, reason=broken, msg=Inapplicable event 'OrderAwoke' for Order '#2022-10-19#T18561471461-root' at position 'test~c5bf1bcb-8c64-4bd7-bc76-7f5bbe044a6a:0/try+1:0' in state 'DelayedAfterError', at Controller), returnCode=1
      

      Desired Behavior

      • The Retry Instruction should consider included Lock Instructions.

      Attachments

        1. pdlFailRetryLock.lock.json
          0.0 kB
          Andreas Püschel
        2. pdwFailRetryLock.workflow.json
          2 kB
          Andreas Püschel

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: