Approach for controlling the completion of queued items in a queue processor

Hi All,

We are going to implement a case type to manage bulk actions such as case instances reassignments, transfer assignments, etc. Last part of case type is responsible for performing the action asynchronously by queuing the case instances in a queu processor.

We wonder whether there is any ootb way to figure out when all the queued item have been handled by que queue processor so we can either wait in a case type assignment till queue processing is completed in order to show a summary of the processed items to the business users or we could create a landling page in Interaction portal where to show a summary of all these bult actions executions so they can see whether everything was completed succesfully or if any item failed to be processed.

Regards,

Israel

Hi @IsraelU1

Pega queue processors use kafka and by default successful executions remove the message from the kafka queue.
For your use case, you can think of below solutions.
Writing a pulse message back to the original(queuing) case , when queue processing completes successfully.
Writing a message to a log table(you can capture reference case id) when queue processing completes successfully, so the table can be reported on.

Thanks Premkanth for the response.

We already thought about writing a message to a table and report on it but we wonder whether there was any other way to achieve this by using any ootb pega rule.

We will take into account the pulse message or notification suggested approach.