Job feedback is displayed while the job is running. A simple API function is used to send feedback for the job running. The first parameter is the message to display and the second the label text to the right and last what type of label

JobFeedbackAPI.addText("Start process document", "Starting", JobFeedbackAPI.TYPE_GREY_LABEL);
JobFeedbackAPI.addText("The ERP system has been updated", "Progress", JobFeedbackAPI.TYPE_BLUE_LABEL);
JobFeedbackAPI.addText("Max credit was exceeded", "Problem", JobFeedbackAPI.TYPE_RED_LABEL);

The API is also available as a visual component

When running a job with feedback, the job dialog is not closed instead is stays open and the feedback is listed. The latest feedback is appended last in the list and the window scroll automatically to display the latest feedback