I have a BPMN workflow that contains a loop to poll a publisher and retrieve available objects until the expected result quantity is met. Using Service tasks and Java Delegates, the workflow establishes a subscriber, waits for the poll, logs what it receives, checks if the threshold is met, and returns to polling. I would like a way to communicate the retrieved results of the poll to the user, but I do not want the workflow to await the user’s acknowledgement of these informational items.
What would be the best way to do this? I could make a parallel gateway with a user task that displays the results and then rejoins the main workflow, but that seems clunky.