Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor
In this part of the blog post, I am going to use additional skills in the Process builder to model conditions which will determine the flow of the automation as well as the level of approvals.

Getting started with SAP Process Automation

Part 1 – Subscribing to SAP Process Automation and understanding the components

Part 2 – Creating your first Business Process Project and configuring Trigger Forms

Part 3 - Adding Process Controls & Approval Form

Part 4 - Creating Data Types & Decisions

Part 5- Create and Configure Automation

Part 6- Deploy Business Process Project

Part 7- Configure Process Visibility Dashboard & Integration with Fiori Launchpad


Adding Process Controls

Process Conditions use an IF or Else rule to determine how the business process needs to be executed according to the conditions defined in the skill.

Click on the “+” icon and select Conditions from Controls.

The Conditions property will show up on the right hand side. Click on the “If” field to open up the Process Content panel to select the required field.

In this scenario, we are going to base the condition on “Hours Required”.

The condition will check if the Hours required is greater than 300 and accordingly branch the flow of execution. For now, we can keep the “EndEvent” as the target for both the branches.

Create and Configure Approval Form

For all requests which have Hours required greater than 300 hours, we need to route them to the employees’ manager for approval.

In this section, we would be creating an Approval Form. Using the “+” icon, select the option to create a new “Approval Form”.

In the popup window for “Create Form”, provide the form name and description.

This adds a new Form in the canvas. You can either use the option “Open Editor” or the menu panel to launch the Form designer.

We repeat the same process we followed when creating the Start Form. For demonstration, I have added the same fields to this form and made them as read-only. The only new field which is mandatory is “Manager Comments”. You would require managers to view the request and provide their comments before they action the request.

Save your changes and go back to the Process Builder and select the “Manager Approval” form. In the properties panel, you would need to make the below changes.

General Tab:

Set the Subject. This will show up in the Manager’s Inbox when a request arrives.

For the recipients, you would need to derive the manager of the employee who is raising this request. For simplicity, I am using “Process Started By” available in the metadata. This means whoever starts the request, will also get this approval request. I am using this for demonstration purposes to keep it simple and not having to deal with multiple logons.

Switch to the Inputs tab. Here, we need to map the fields from the context to the read-only field which need to show up in the Manager Approval Form. Except for “Manager Comments”, all other field can be mapped from the Process Content.

Notice the Outputs tab will have one attribute “Manager Comments” which would be used for the later.

Save all your changes. You will still see an error message for the “Manager Approval”. The Design Console will provide more information of such messages. This error message states that there are no outputs defined for this node.

Let’s define the outputs. Lets end the automation process if the manager rejects this request. Use the “+” icon to add an End event.

This should now resolve the design error.

In the next blog post, I will enhance this process with decisions based on rules to determine who the appropriate manager would be for a special project request.

Labels in this area