3

SAP Process Automation- Product Enhancements August 2022

 1 year ago
source link: https://blogs.sap.com/2022/08/08/sap-process-automation-product-enhancements-august-2022/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
August 8, 2022 5 minute read

SAP Process Automation- Product Enhancements August 2022

Less then three weeks after my last blog post about SAP Process Automation product enhancements  there are again a lot of enhancements in SAP Process Automation to talk about and to proceed with the story about our exciting product.

But before we dive into the details I want to ensure that you know that SAP is recognized as Visionary in 2022 Gartner® Magic Quadrant™ for Robotic Process Automation

Now let’s start with the new features:

  • Trigger a process with an API call
  • Parallel branches
  • SAP Process Automation project export/import

Trigger a process with an API call

So far we had the limitation to start a process only from a trigger form which opens up a lot of use  cases but was also a limitation. Starting today we are also able to trigger a process via an API call.

Therefore we changed the start icon of the process:

2022-08-05_10-21-11.png

To make this feature really useful you can of course also define input data for the process. To do this click on “Configure Inputs” on the side panel.

2022-08-05_10-26-41.png

On the next pop-up you can define your input data, in my example three inputs. Then click on “Apply”.

2022-08-05_11-40-22.png

Now you are able to see the inputs on the side panel.

2022-08-05_11-43-08.png

Now you can use the input fields in the next process steps, e.g. a Form. In my case the Form has three fields related to the API input fields. Now map the fields in the form to the inout fields from the trigger.

2022-08-05_11-49-30.png

To test the process trigger release and deploy the project. To start the test go in the monitoring tab in the menu under Managed and select Processes and Workflows.

2022-08-05_12-38-57-1.png

Select your process definition and click on “Start New Instance”.

2022-08-05_12-44-33-1.png

Replace the json structure with your own values and click on “Strat New Instance and Close”.

2022-08-05_12-49-35-1.png

The instance is now created and you can check the status and the values in the Monitor section under Process and Workflows. Search for your instance and you can see the values in the Context area. You can also test the creation of an instance via postman or in a project calling the service instance API.

2022-08-05_12-53-12-1.png

Also in the My Inbox app you can see the task with the respective values.

2022-08-05_12-57-10-1.png

Now we can extend the process with additional steps.

Parallel Branches

The next topic is about the parallelization of tasks. With the introduction of the “Branch” control you will be able create parallel tasks.

2022-08-05_13-17-53.png

After adding the “Branch” control you can see two branches with a Start and an End icon. You are also able to add additional branches, up to 10 in total.

2022-08-05_13-19-22.png

In my example I created three branches, changed the names which will be also displayed in the canvas.

2022-08-05_13-22-29.png

Inside the branches you are able to add other activities. As of today this is a subset of all available activities. We will add more with the next releases.

2022-08-05_13-23-46.png

To complete my example I created four forms to check the data and finally approve or reject the result.

2022-08-05_14-00-41.png

This is the layout for the the forms in the branches.

2022-08-05_14-01-20.png

This is the approval form where collect the data from the different branches.

2022-08-05_14-01-51.png

To test this process I release and deploy the process and trigger the process via API. As a result I get a new instance of the process as shown above and one task. I submit the task and get three new tasks.

2022-08-05_14-09-59.png

Also in the execution log in the monitoring you can see now the branch is started and three tasks are created.

2022-08-05_14-14-17-1.png

After completing the tasks you can see that the merge point is reached and the final approval task is available.

2022-08-05_16-26-21.png

In the approval task we can see now summarised the values entered in the different branches of the process.

2022-08-05_17-06-20.png

Project Export/Import

On important feature to manage processes and automations is the capability to move projects between different sub accounts (tenants) on SAP BTP. To achieve this you can now export a project in one tenant and import it in another one.

In the Lobby you can open the project menu using the icon with the three dots on the right side and then click on “Export”.

2022-08-08_09-36-18.png

In the next step you can select the version which you would like to use and click on “Export”.

2022-08-08_09-38-57.png

The mtar-file will be saved to a folder you can define by your own.

For importing the file you click on the Import button in the Lobby.

2022-08-08_09-44-14.png

Select the file and click on Import.

2022-08-08_09-47-48.png

That’s all.

Today there is one limitation with the Decision artifact. If the project contains a decision you can use the export/import functionally. You have to remove the decision and rebuild the artifact in the new tenant. As a workaround you can export the decision tables to Excel and import them in the new tenant from Excel. This limitation will be removed in one ot the next product updates.

Conclusion

We just started our journey with SAP Process Automation and you can see how the product is evolving. With a fully packed roadmap you can expect a lot of new features in the next weeks and beyond.

Next Steps

You are curious now but do not how to start? Try it out now using our Free Tier offering.

You are interested in the bigger picture of LCNC?

To see LCNC in action, check out the SAP Low-Code/No-Code Learning Journey – designed to increase low-code/no-code skills and teach citizen developers the basic concepts of software development including SAP AppGyver, SAP Process Automation, and SAP Work Zone and learn how to build mobile apps for free. Check out LCNC and plus much more free learning for developers at SAP Learning site.

For more information on SAP Process Automation, please refer to the following sources:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK