Message trigger workflow which is waiting for timer trigger event

Hi team,
I’m new to camunda and trying to model compliance check flow with camunda 7. For our case, we will trigger a periodical customer risk rating flow once customer onboarded. The expected trigger date for risk rating recalculation should be based on the finalized rating reviewed by operation team. Draft camunda model as bellow.

My question is, if the workflow instance is waiting for timer event and new rating changed event arrived, can workflow handle it properly? Any suggestion will be appreciated.

Hello @wktyyz ,

for this use case I would not use an endless loop.

Instead, I would trigger a new process instance for the “onboarding” itself that would end after the initial risk rating has been performed.

Then, you could do a scheduled run that iterates over all available customers and re-calculates their risk rating.

Please keep in ming that iterating should be done with care in camunda 7, so a pagination mechanism is included in the example.

Also, since the customer data is only loaded right before the check is performed, no reaction to changed data is required.

Best regards,
Jonathan

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.