When setting up Connectors (eg. for sending an email, or connect to an Alfresco/ ldap host) in the wizard we are asked to set some variables (e.g. smtp host, username, password).
In order not to set them on every connector, what is the best practice for setting some static variables across the workflow at Bonita BPM?
For connector parameters such as server address, credentials… (parameters that will be shared by all process instances) the recommendation is to declare them as parameters in the process definition.
To do so, you need to select the process pool, go to “Data” tab and select the “Parameters” sub tab. Then you can declare your parameter and specify their type. Once you did that you need to go in the process configuration by clicking on the “Configure” button, select “Parameters” and define the values.
Using parameters lets you declare in a single location settings for all your connectors located in a single process definition. Also if you switch to Subscription Edition of Bonita you have an additional feature that let you update the parameters value with out redeploying your process.
I think parameters can be viewed by **all ** users of the organization.
When I login to http://localhost:8080/bonita/, from the menu BPM->Processes->Select the procces-> more (button)->parameters menu.
Apologies if i am wrong.
Actually the “BPM” menu is only available in “Administrator” view and so only available to users that have the “Administrator” profile.
In Bonita test organization (ACME) the “Administrator” profile is mapped to all users of the organization to ease the testing. But in real life configuration only appropriate users would be mapped to “Administrator” profile and so can access the “Administrator” view and view the parameters values.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.