Hello everyone,
I am in the process of migrating a cloud solution from BTP CF Workflow Management to the new Build Process Automation. While there are numerous blogs that have already discussed this migration, I aim to provide a more developer-centric, step-by-step perspective.
Probably the most interesting blog resource are:
Bellow is my technical blog documenting all the steps I have taken. The solution includes:
For more details, please refer to the blog.
Import the site using the standard button in the SAP Build Warzone Standard
If you don’t have business rules logic in your project this part is not necessary.
Here, I will describe how to import and activate using the old service, but it is not possible to retrieve the information through the API with it. My advice is to import the rules directly as described in ‘3.2 Decision Activity’.
In the Business Process Automation App, navigate to the Business Rules Service. Go to Monitor > Dashboard > Business Rule.
Import the Business Rules
Validate and activate all the artifacts one by one in the following order:
Deploy all the Rule Services
Because is not possible to use the API externally. I used the answer of
Archana Shukla answer to retrieve the information and recreate the business rules.
After cloning the repository, install the libraries using ‘npm run install.’ Ensure that you have access to the sub-account space
In the workflow changing change the attributes of mta.yaml as needed.
Deploy the workflow.
All the changes in the application are made based on the new destination automatically created at the beginning with the assistance of booster for business process automation
In my case, I have two routes, and I changed both settings as outlined in the documentation.
Additionally, I adjusted the rule service (preview chapter) and now I can directly call the process automation API. Here are some changes I made (please note that in the old project, I first retrieved the token and then made the API call using standard JavaScript). Our code is not perfect, but due to these changes, I do no longer use the token thanks of the new destinations.
The structure is slightly different, and I changed the request body
Additionally, I modified the ID of the rulesets that I showed you before. We are not using animore BR_TOKEN_URL
In this case, I’m starting from scratch because I want a new visibility scenario. Here, I went directly to build a new automated process.
1. Create a new visibility scenario.
2. Add our workflow
3…. and you can continue with this guide, really well made as standard configuration.
My migration continues with a new peace offer from SAP. The integration of RPA, in addition to adding more functionality like the Document Information Extractor, to the solution.
The process was easier than I thought. When you find all the information in various blogs and community questions, the solution becomes clear. You can probably create a single Business Process with the Visibility Scenario and Business Rules, but I prefer to keep the services separate
I don’t feel confident yet to copy the entire solution and recreate it with a Business Process. I consider myself fortunate that SAP still offers the possibility to deploy the old Workflow to the new Business Process Service.
Thank you to Archana Shukla , Venugopal Chembrakalathil , Jana De Klerk and Murali Shanmugham for the supporting blog.
If I’ve shared something wrong, please feel free to correct me.