Data from ERP to Bonita
Hi all,
I'm a newbie about Bonita.
I would like to create workflow processes with Bonita using data extracted from an ERP (for example: Customers, email addresses, products, delivery dates and so on).
I think part of the information I need is described in the Connectivity chapter within the documentation.
It is not clear to me how I can define mapping between fields of an ERP database table and the variables of a Bonita diagram.
Is there any example regarding my problem?
Many thanks
Luigi
Hi,
Connectors are indeed the way to go if you want a Bonita process to interact with your ERP. Here you have a complete example of a custom connector (in this sample the connector is interacting with a BI solution). You will find there some code to illustrate how to retrieve connector input/output parameters as well as how to deal with Bonita APIs from within a connector.
From within a connector you can update process variables as follows: apiAccessor.getProcessAPI().updateProcessDataInstance("{variableName}", processInstanceId, true);
Please have a look as well to this page in the documentation in order to get more information about the different options you have in Bonita to deal with Data.
Hope it helps