6 Replies Latest reply on Oct 24, 2017 7:46 AM by Bill Robinson

    Getting logitems for alternate runs


      Below are the commands using to get log items from the run,


      Note: We are running same job


      Job executeJobAndWait $Server  - Job Run Key


      JobRun jobRunKeyToJobRunId $JobRunKey - Converting Job Run Key to Job Run ID


      JobRun getLogItemsByJobRunId $JobRunKey $JobRunID - To get Log Items


      But I am getting log items for alternate runs.


      For example:


      Run Job 1st time : Getting Log items

      Run Job 2nd time: Result void

      Run Job 3rd time : Getting Log items

      Run Job 4th time: Result void


      Any help?