JBoss Community

Integration with not Java application

created by Vladimir Lebedinsky in jBPM - View the full discussion

I need to integrate BPM system in application written on PHP(Symfony2) and ExtJS4. For example, in my app there are entities called 'knowledge document' - this is pdf file and some text metadata, user is allowed to upload it, document manager allowed to accept/decline it. I need to create same task in jBPM and integrate it with my app - ie when process in jBPM will be finished my application should update data - get document if it was accepted in jBPM or log document decline.

 

Ideally workflow should be like this:

User logins in current application,  clicks on link 'BPM'   and starts work on 'knowledge document' process - uploads file

Document Manager  also logins in app, opens BPM and finishes process - accepting file for example

Document saved in application

 

Looks like I have three  main tasks:

Make jBPM to use users from my app - dont even know how. I can make web api for users, or allow to use users table in db..

Render forms using ExtJS instead of jBPM html forms - this will be possible if I can get form definition from api

Save data in app after process in jBPM is finished (either sending request from jBPM to application, or getting data from jBPM REST API by notification/cron)

 

 

I'm new with BPM and actually with Java too, and lot of things are not clear for me, any help will be very useful

Reply to this message by going to Community

Start a new discussion in jBPM at Community