MS365 and Email intermediate catch event

Hi,

so I build a process that sends an email to the customer, waits for the response and then continues. This works fine for IMAP/SMTP email providers but unfortunately I need to use Exchange/MS365.

I was able to switch the Email Connector to the Outlook 365 Mail Connector but has anyone a solution to wait for a response and correlate it? The E-mail intermediate catch event connector doesn’t seem to support MS365.

Hi DavidF,

The Outlook 365 connector doesn’t support waiting for replies. You’ll need to handle the waiting outside of Camunda (e.g. via MS365 APIs or webhooks).

When the email is received, just send a message correlation to Camunda using a unique correlation ID of the waiting process instance.

This is a common approach, but not the only possible solution.

2 Likes

Thanks!

Was aware of both limitations but hoping of some magical solution that doesn’t force me to build something myself just because I use a different email provider (i.e. MS365). I guess, the problem is not on Camunda-side but on Microsoft for not supporting totally working solutions like IMAP/SMTP :wink:

1 Like

If anyone is interested: Building a bridge for the intermediate catch event is not sufficient as the Outlook connector doesn’t return the correlation-ID and the mail is also not saved in the send mails folder (maybe I am doing something wrong).

So, I currently have nothing to correlate to and will rebuild both sides (both a sending worker and a receiving bridge that triggers the message)

1 Like

FYI, we are actively working on an M365 Outlook Inbound connector here and are targeting 8.9, so depending on the urgency, there is a better solution upcoming. As part of the validation of this feature, I will try to build a process that sends a message and then correlate on that message id in the inbound connector. If you share more of your diagram, I might be able to help debug.

1 Like

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