Reporting Progress

Calling ProgressMonitor.setTaskName(name) instead of subTask(name) replaces the last progress message rather than registering a new progress entry. This can be particularly useful when sending progress messages with percentage completion, to have one progress label being updated rather than keeping adding more and more progress messages.

Please refer to MDWorkbench documentation for details on progress report:
MDWorkbench Documentation > Reference > Rules Development > Basics > Report progress

Related concepts
Service

Related tasks
Adding Services