Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
peterengel
Product and Topic Expert
Product and Topic Expert
3,594
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:


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.


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


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


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 input fields from the trigger.


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.


 

Select your process definition and click on "Start New Instance".


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



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.


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


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.


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.


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


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.


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


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


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


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.


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


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


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



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".


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


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.


Select the file and click on Import.


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:
25 Comments
johnsonjos16
Participant
0 Kudos
Hi Peter,

 

What is SAP's vision on IRPA? Will Process Automation replace IRPA or both will continue to exist parallely?
peterengel
Product and Topic Expert
Product and Topic Expert
Hi Johnson,

SAP Process Automation already replaced IRPA from a commercial view. Of course you can use IRPA as long as your existing contract will run. If you start now, please use SAP Process Automation.

Br,

Peter
johnsonjos16
Participant
0 Kudos
Thanks Peter. We recently started on Process Automation for our client and wanted to make sure that we chose the product. Thanks a lot for clarifying.
former_member198060
Participant
0 Kudos
I think it has been a bad decision to use a RPA like notation for the processes.

Now you have a gap between process automation and Signavio, sap best practice processes, Process orchestration and any other proper process modeling tool and process engine on the market.

Everything else is using bpmn 2.0 based modeling which if easy to learn and well adopted. Personally I think it is a mistake to use this proprietary notation in order to ‚dumb down‘ bpmn for citizen developers. You are underestimating your potential users.
ajmaradiaga
Developer Advocate
Developer Advocate
0 Kudos
peter.engel , where can I find more information how to trigger a Process with an API call? Not from the monitoring UI but send a message to an endpoint? I'm interested in the API documentation.... details on how I can authenticate to send requests. Do I need to create a service key? Any help will be appreciated
peterengel
Product and Topic Expert
Product and Topic Expert
Hi Antonio,

you can check out my blog post on how to call the API via postman here.

Br,

Peter
Keerthana
Participant
0 Kudos

Hi peter.engel ,

I am trying to trigger Process via API call, my context is getting updated and i am getting an option to select also but the data binded to the variable is not getting updated. What could be the reason.Please help me with this.

Regards,

Keerthana

peterengel
Product and Topic Expert
Product and Topic Expert
Hi Keerthana,

please check the table where you defined the input variables. You have to use the ID not the name and it is case sensitive.

Br,

Peter
rcpmahinay1990
Explorer
0 Kudos
Thanks for the update! Is there going to be a learning curve when learning SAP Intelligent RPA using my personal free trial account, and SAP Process Automation on an enterprise account? Thanks.
peterengel
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Roy,

yes, the design time is nearly the same, only a few changes on the UI. Also monitoring and agent settings are available, sometimes in a new look and feel, but you will be recognise it very fast.

Br,

Peter

PS: SAP Process Automation is also available in the trial now.
johnsonjos
Explorer
0 Kudos
Hi Peter,

 

Is there any way to handle parallel approval tasks using SAP Process Automation. When I look at the tool, I can't add an approval form once the branch option is used. Consider a scenario, where an  access request needs to get approved by all department heads to proceed, how to achieve this?

 

Can we send the workflow to all approvers at the same time and wait for all of them to approve before proceeding to proceed?

 

Regards

Johnson
peterengel
Product and Topic Expert
Product and Topic Expert
Hi Johnson,

as of today it is nor possible to have an approval form in the branches. We plan to add this functionality in one of the next releases. Same for the multi-approval, today you can get the approvals only in a sequence.

Br,

Peter

 
johnsonjos
Explorer
0 Kudos
Thanks a lot Peter for clarifying. Is there any ETA for the feature to be added to Process Automation?

 

Regards

Johnson
peterengel
Product and Topic Expert
Product and Topic Expert
Hi Johnson,

with all respect to the usual disclaimers we plan to release this feature around November 15th.

Br,

Peter
johnsonjos
Explorer
0 Kudos

Thats great news Peter. Thanks a lot for the update.

 

Regards

Johson

NickSYYang
Active Participant
0 Kudos
Hi Peter,

 

I want to test/trigger my automation via API but unfortuately it's not possible in free tier.

May I suggest to enable API call in free tier with limited API calls per month (such as 100 calls a month)?

Because, API calls is a very important feature when it comes to integrate with other components in a bigger solution.

Thanks.

 

Regards,

Nick
peterengel
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Nick,

you ned a process instance for SAP Process Automation. If you cannot create a service instance go  to the entitlement section in menu -> configure entitlements -> add service plans. Search for SAP Process Automation and add the plan "standard" to your sub-account and save the new settings. Now you are able to add the service instance This plan is without any charges.

Sorry for the inconvenience.

Br,

Peter
peterengel
Product and Topic Expert
Product and Topic Expert
approval forms are now available in parallel branches
johnsonjos
Explorer
0 Kudos
Thanks Peter. Validated the functionality. Looks great. Appreciate your help.

 

Thanks,

Johnson
StijnVerhaegen
Explorer
0 Kudos
Hi Peter,

Within a process I want to start something in parallel. Here I use the "Branch" control and I choose 2 branches, branch 1 and branch 2.

Then, I want to start another 2 tasks in parallel when only one of the branches, lets say branch 1, has completed. So it doesn't matter if branch 2 has been completed or not. I want to start another two tasks in parallel when branch 1 has been completed.

I can't seem to find how to do this. Is this possible?

Regards,

Stijn
peterengel
Product and Topic Expert
Product and Topic Expert
Hi Stijn,

as of today it is not possible to have nested parallel branches. We will check if we can enable this or if there are other functions which would be impacted by such a change. Let you know when we will have finished the discovery.

Br,

Peter
StijnVerhaegen
Explorer
0 Kudos
Hi Peter,

What falls under 'API Calls' in the process automation license? Is this only the API trigger of a process for example? Or also if you use an automation that uses the 'Call Web Service' activity? Or when sending an email? Is there an overview somewhere?


Thank you!

Stijn
peterengel
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Stijn,

API calls are only counted in processes. This mean using 'CallWebservice Activity', a BAPI Activity or an action project in an automation (RPA) will not counted as today these API calls are executed on a local machine of the customer and the customer pays already for the runtime and bandwidth.

This is of course different in the process area as runtime for the processes is provided by SAP:

Br,

Peter
StijnVerhaegen
Explorer
0 Kudos
Thank you for the clarification.

If I understand correctly, when you call an action directly in the process, this does count as an API call?

And when you use a form or automation in your process, does this then count as an API call? Does the process runtime execute an API call to execute the form or automation step in your process?

Regards,

Stijn
peterengel
Product and Topic Expert
Product and Topic Expert
If I understand correctly, when you call an action directly in the process, this does count as an API call? YES

And when you use a form or automation in your process, does this then count as an API call? NO

Does the process runtime execute an API call to execute the form or automation step in your process? YES, but this API calls are solution internal and will not count.

Br,

Peter