Post Running Actions

Post Running Actions are very useful to make some additional checks or to update a table with runtime-information about the job.

Be careful when using the jcsJob.getStatus() method in a Post-Running-Action. When a Post-Running-Action is executed, the status is always PostRunning. When checking if the Job was successful for example, the status cannot be used for this. When it is important to know the real status of the Job, then the status should be retrieved with jcsPostRunningContext.getNewStatus(). This will for example will return Completed or Error.