Details
-
Feature
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
Description
Current Situation
- Users would like to check from a job if execution is repeated due to a Retry Instruction. This includes to make available
- the current retry counter,
- the maximum number of retries.
Desired Behavior
- The following variables should be provided:
- js7RetryCount: indicates the number of the current retry of a job within a Retry Instruction.
- js7MaxRetryCount: indicates the maximum number of retries specified with the Retry Instruction.
- If the current job is not in scope of a Retry Instruction, then the js7RetryCount and js7MaxRetryCount variables hold empty values.
Delimitation
- Variables related to a Retry Instruction are not related to the existing js7JobExecutionCount variable that counts the number of executions of a job for a given Order ID independently from the fact that a job is repeatedly executed due to user intervention (for example suspend/resume operations) of by automated behavior (Retry Instruction).