This document enlists the various considerations, design and flow that will orchestrate sending of callback in phases post bulk batch processing.

This callback will be a part of Bulk Processor service and will be responsible to send confirmation on different levels of completion of batch processing

BPMN Design

Attached is the BPMN design

Screenshot 2023-01-20 at 5.12.43 PM.png

In new BPMN, if aggregate api retry count < x, then the execution moves to a parallel gateway where it uses individual exclusive gateway to check:

Note: Parallel gateway cannot have condition in them like exclusive gateways

Design Considerations