BPM with exclusive gateway and wait event

Hello all,

I have a requirement that i think i can implement with a BPM.

We have a module in which, when a record is created, we set a date/time field with +1, +7 or +15 days based on a dropdown value. This field is always in the future and read only:

The requirement is to send an email notification in case the deadline is exceeded with the field "Actions being taken" empty. In case the deadline is exceeded but "Actions being taken" is populated, then the BPM can terminate with no emails.

I created a BPM (below you can find the BPM exported) in which i set an Exclusive Gateway with a Wait Event, as you see in the red brackets (all the previous part is correctly working):

So, the wait event #1 has the following criteria: "Focal point deadline + 0min", in order to catch the exact moment the deadline is exceeded

 

On the other part, the Message Event #1 checks when the field "Actions being taken" changes from empty to something:

The BPM enters the wait event but always gets stuck, even if the deadline is exceeded:

I'm afraid i made a mistake in the red brackets part.

Can someone help me?

Thanks in advance

RAM_case_creation.bpm

  • Hi  ,

    The configuration of your event-based gateway looks appropriate to me. We have a number of process definitions configured for our clients where event-based gateways are used in a similar fashion (e.g. either a certain time duration elapses as defined in the wait event or a field changes). Those process definitions are working as expected.

    I recommend opening a case with Sugar Support to investigate as there may be an underlying defect you are encountering. 

    Chris