Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.5.0
-
None
Description
Current Situation
- When executing the JITL FileExistJob or JITL FileNotExistJob Jobs then
- by default, the job execution will always finish successfully, regardless of whether a file/directory was found or not.
- the return code of a successful execution is always the same: 0
- job execution may fail if e.g. the raise_error_if_result_set_is job argument is used
- the return code of a failed execution is 99
- by default, the job execution will always finish successfully, regardless of whether a file/directory was found or not.
Desired Behavior
- In case of successful execution the return code should be set depending on the execution result:
- FileExistJob
- return code=0 (file exists)
- return code=1 (file does not exist)
- FileNotExistJob
- return code=0 (file does not exist)
- return code=1 (file exists)
- FileExistJob