Question

Integration of BPMonline 7.0 with external applications.

Hi,
Need help with integrating BPMonline 7.0 with external applications. There’s a standard business process. When I add record from external application I want the business process to run and the next action to be activated (like task creation etc.) according to the business process. What is the best way to achieve this?

  • Add new record Using OData. In this case, will initial event ‘Signal’ work?
  • Using ProcessEngineService mechanisms?

Thanks a lot in advance,
Ryan

File attachments
Like 1

Like

2 comments

Hi Ryan,

Thanks for the question. Both options are good.

When working with objects using OData service, you should work with all internal events and handlers in system processes just as if you were adding records using the interface or importing from Excel file.

You can create process with initial event ‘Signal’ that is activated when new object is created in the system, and add conditions to be met by the newly created object. But, in this case the process will run automatically for all newly created objects, regardless of whether the object has been created in the interface, or with the help of OData using a third party application.

ProcessEngineService is more appropriate if the process should run only for objects created by third-party applications. In this case, you create a business process with a simple starting element. Add to the process all parameters that have to come from external application, and this will allow you to manage object creation and further activities.

Just in idea, if you do use an initial event 'signal' and want to differentiate between internally created and externally created objects you can have the OData Service set a certain value that the process will recognize as a condition. That's how we have done it in the past.

Show all comments