cancel
Showing results for 
Search instead for 
Did you mean: 

Email Starting process

sandroredi
Champ in-the-making
Champ in-the-making
Hi, I'm new with Activiti.
I'm writing in this forum to understand the best approach to design a process that should stay in waiting state. When an email is received from specific email-addresses the process should start and an elaboration logic block should parse the attachments in the email received to direct the flow of the process towards some manual tasks.

Is this the right approach for a problem like this? There is something useful to listen ingoing emails and parse the attachments on these? Or should I modify the entry point of my process?

Thank you.
Best Regards.

Sandro


4 REPLIES 4

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sandro,

I would use message start event (http://www.activiti.org/userguide/#bpmnMessageStartEvent). Your client program could check the e-mails periodically and in the case when email comes it can generate message for activiti.

Regards
Martin

sandroredi
Champ in-the-making
Champ in-the-making
Hi Martin,
thank you! If I have understood, I should configure the client to forward the email (with attachments) towards Activiti that starts the process when it receives the email. It's right?
Then, should I programmatically, access to the email attachments?

Thank you!
Best regards.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sandro.

I am not aware of the client which checks emails and send activiti messages to the activiti engine. There is no problem to implement it.
Message can contain data (e.g. pointers attachments)

regards
Martin

sandroredi
Champ in-the-making
Champ in-the-making
Thank you Martin!