SUMMARY:
This article discuss a known issue with System Manager 10.3 where it returns an incorrect exist code for "success" when the particular Integrity Manager process has found an error.
SYMPTOM:
In Strategy 10.3, when using a System Manager workflow to run an Integrity Manager check, if mismatches are found, the exit code returned will be “0” (Execution succeeded with no error or mismatched object) instead of “1” (Execution completed with errors or mismatched objects.)
STEPS TO REPRODUCE:
- Obtain either two separate machines or two separate environments that will contain the same exact document. For example, the "Corporate Sales Overview" document within the Strategy Tutorial project.
- On machine 2, in the Tutorial Project, navigate to the "Corporate Sales Overview" (Strategy Tutorial\Public Objects\Reports\Documents and Scorecards\Corporate Sales Overview), alter the document layout, and save the changes.
- Within Integrity Manager, run a check against the unaltered PDF document on machine 1 and the altered PDF document on machin3 2; note that differences are found in this test. Save this run as "test.mtc."
- Create System Manager workflow with just the Integrity Manager process, and fill in the .mtc parameter with test.mtc from the Integrity Manager run.
- Notice that the error code returned is "0", indicating that the test was successful and that no changes were detected between documents, when it is supposed to be "1", since changes were made to one of the documents.
CAUSE:
This issue has been identified as a defect in Strategy 10.3.
ACTION:
This issue has been fixed in Strategy 10.9 and 10.4 Hotfix 6, please upgrade to those versions to take advantage of the fix.