Approve/Reject a request with the help of email reply

1
0
-1

Hi,

I am evaluating BPM tools for my organization and have used Bonita community edition. We have two requirements

  1. Allow a user to approve/reject a request by replying to email. Approver should be able to reply to the mail containing the request with keyword such as "Approve" or "Reject" in subject or in email body. This reply can be sent to a pre configured email address and based on the keyword, the task should get approved or rejected

  2. How do I integrate the business process with my corporate portal. May be by creating a web application (.war file) of the process I've defined or by providing a link. What is the best approach?

Thanks
Shridhar

1 answer

1
0
-1

re 1:
There are many ways to do this I'm sure, it just depends on your requirement. I can think of the following ways immediately:

  1. Mail Server has a trigger such that when the email comes in, it analyses the message and then starts a process by using REST.
  2. Mail Server dumps the message as text to a directory the Bonitasoft Server can access and you have a never ending Process that watches the folder and picks up the messages for processing ( https://docs.oracle.com/javase/tutorial/essential/io/notification.html)

re 2:
Not sure it's possible to create a WAR of a Bonita Process so that won't work.

You can integrate using REST. In the Getting Started Tutorial they show how to use a Bonita UI Application however there is nothing to stop the use of the concepts in a different customer provided application.

Hope the above helps,

regards
Seán

PS: If this reply answers your question, please mark a resolved.

Comments

Submitted by green.vetal on Fri, 05/06/2016 - 06:49

Thanks a lot Sean for your reply.
It seems that we will need to write some module that will monitor emails sent to a pre configured address and call the BPM services. I was hoping to see a module in Bonita that will receive emails at a predefined frequency, parse the contents and take further actions.

Since a corporate IT department will allow only email clients to poll the server, an option could be to write an email client and execute steps you have mentioned. But this sounds more like a work around..

Thanks again for your reply
Shridhar

Notifications