I have a deployed bar file and a bunch of processes have already been started using that bar file. Now I need to update the bar file to fix some bugs in the logic that were identified.
If I try to upload a bar file it complains that the process already exists. How can I hot swap the bar file so that the earlier and later ones can work without facing issues.
I am using 6.5.1 and using just the engine with my application to carry out tasks.
Simply update the process version:
- In the Studio, select the process pool.
- In “General” tab, “Pool” sub-tab click on “Edit…” button.
- Type the new process version.
Now you can export the bar file and deploy it using Bonita BPM Portal.
You can disable the old process version to prevent any new cases creation.
Note that you might want to keep diagram version in sync with process version. To do that follow the exact same procedure but instead of selecting the pool, just click in an empty space of the diagram.
Thanks Antoine.
I should have mentioned that I do not want to change the version of the bar file. I need to update the existing bar file with a new one and still be able to run with the same version of the bar file.
I am looking for a way which will be applicable for existing processes and new ones.
Nope, not possible…you must do it as Antoine says…
regards