We are upgrading from version 7.11.3. We previously used the REST API to call /portal/processUpload with the .BAR file and then /API/bpm/process with the process ID. However, these REST API calls are now deprecated in version 2024.1. What current REST API calls can be used to accomplish this same function, namely creating/installing a Process?
Hi @julie.weiher!
Yes, you’re right those APIs were deprecated since Bonita 2023.2 (9.0.0): Release notes | Bonita Documentation because a new paradigm called Self-Contained Applications (SCA) was introduced. It was conceived to make packaging and deploying easier. With a Maven command line, you will be able to package everything in one place -all the processes and their requirements- to work. That is why there is no longer Bonita REST APIs for adding a process since when you deploy it, it is already packaged in there.
To better understand SCA, I’d recommend taking a look at this replay about What’s New in Bonita 2023.2 and documentation here
hope this helps.
cheers!
-Thalía