Help to integrate PHP + Camunda BPM for automated process

776 views
Skip to first unread message

Senthil Vasan

unread,
Jan 24, 2014, 2:44:34 AM1/24/14
to camunda-...@googlegroups.com
Hi, 

I want to do automates process like unsubscribe to list, or send email or notify someone when user subscribe to a list. 
I would like to integrate Camunda BPM to listen the database and do the process steps when a new user subscribe. 

Example: 
User subscribers to a list
- wait for one hour
- send an email
- wait for some time
- notify someone
- update contact details.. 

When user subscriber i need to do that the task corresponding to the time they added. 

Please give example to integrate this functionality and give an idea to do this. 

Christian Lipphardt

unread,
Jan 24, 2014, 5:04:29 AM1/24/14
to camunda-...@googlegroups.com
Hi Senthil,

  1. First you have to install camunda bpm to a server, for that use our camunda bpm out-of-the-box Tomcat distribution ( http://www.camunda.org/release/camunda-bpm/tomcat/7.1/camunda-bpm-tomcat-7.1.0-alpha1.zip ). For installation guide, see http://docs.camunda.org/latest/guides/installation-guide/tomcat/ . When you successfully finished the installation process to step 2.
  2. Download the camunda bpm Modeler ( http://www.camunda.org/download/modeler.html ). Either install it into Eclipse Kepler (4.3.x) as an update site or use the prepackaged distribution.
  3. See http://camunda.org/get-started/ for an introduction about how to develop a process application with camunda bpm. (Requires some java stuff like Maven, IDE and so on).
  4. Model your business process as a bpmn diagram. Start with http://camunda.org/bpmn/tutorial.html . We recommend the book 'Real-Life BPMN' written by Bernd Ruecker and Jakob Freund ( http://www.amazon.com/Real-Life-BPMN-Analyze-Automate-Processes/dp/1480034983 ) on bpmn modelling and automation. For bpmn elements supported by our engine, see http://docs.camunda.org/latest/api-references/bpmn20/ .
  5. Regarding the camunda bpm PHP SDK usage, see http://camunda.github.io/camunda-bpm-php-sdk/ for examples and an introduction.
  6. If you have questions, check http://docs.camunda.org/latest/guides/user-guide/ first, then try stackoverflow (tag: camunda) or this forum.
Cheers
Christian

Senthil Vasan

unread,
Jan 24, 2014, 8:55:10 AM1/24/14
to camunda-...@googlegroups.com
Hi Christian,

Thank you for you reply. 

Could you please explain me how we can use Camunda BPM for the following example 
Example
User subscribers to a list
- wait for one hour
- send an email
- wait for some time
- notify someone
- update contact details.. 

There may be different series. For each series when user subscribe I need to take the following actions. 

- I have installed camunda bpm - working fine
- Installed camunda bpm Modeler

I now trying to create process or job through API and need to execute when user subscribes. 
Correct me if I'm wrong.. 

Doubts:  is camunda bpm Modeler need for the functionality I'm looking?

Christian Lipphardt

unread,
Jan 24, 2014, 2:51:16 PM1/24/14
to camunda-...@googlegroups.com
Hi Senthil,

you must model the process in bpmn 2.0 using the modeler. Then deploy it to the engine, so you can start it using the rest api.

Cheers
Christian
Reply all
Reply to author
Forward
0 new messages