AndyGilly Posted May 25, 2021 Share Posted May 25, 2021 Would it be possible to have the Job 'Outcome' available on the Job Queue main screen Currently a 'failed' job just shows the 'status' which would be success as the process completed, even if it completed with a 'failed' outcome thanks Andy Link to comment Share on other sites More sharing options...
Graham Posted May 25, 2021 Share Posted May 25, 2021 @AndyGilly Unfortunately, this isn't something that the job queue can support. The issue is that the Outcome is an output parameter from the library PowerShell scripts you are running, not something inherent to every job, and so for jobs that don't produce that parameter, the column will be blank. By design, the processing only parses the overall output of the job, populating the values for the configured output parameters, if the job itself succeeds. The thinking here is that if the job itself fails, then the output won't contain any valid information anyway. The reason it works this way is that if the job itself succeeds, in that the PowerShell script was able to run, regardless of whether it achieved the intended results or not, the Outcome parameter, which does contain this information, can then be tested in workflows. Graham Link to comment Share on other sites More sharing options...
AndyGilly Posted May 25, 2021 Author Share Posted May 25, 2021 thanks @Graham understood we have built the error handling into the BPM that is triggering the request, it would have just been a nice visual in the job queue to see any failures in ITOM itself Andy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now