Run the Business Process
Release, deploy and run the business process
Overview
You will learn
- How to release and deploy the process
- How to run the process
- How to monitor the process
- How to access the tasks
- How to retrieve the sample project from the Store
Prerequisites
Prerequisites
- Complete Create a Process Condition tutorial
Steps
To run the process you have to first release and then deploy the business process project.
Releasing a project creates a version or snapshot of the changes and deploying the project makes it available in runtime to be consumed. You can only deploy a released version of the project, and at a given time there can be multiple deployed versions of the same project.
In the Process Builder, to release a project, choose the Release button on the top-right corner of the screen and provide a description.

Run Version have x.y.z format where x is a major version number, y is minor and z is the patch number. Every time you release, a new version will be created. Version is incremented automatically based on how you want to store the changes in the repository like major or minor update or just as a patch.
If you are releasing for the first time, then the version will start with 1.0.0. Next time you release, the version numbers will be automatically updated.

Run
If you do not have an environment already, go to Control Tower -> Environments and create one.

Run 
Run Once the project is released successfully, change to the released version and choose Deploy in the top-right corner of the screen.

Run Choose the environment and select Deploy.

Run Deploy will take a couple of seconds/minutes depending upon how big your project is and how many different artifacts it has. Any errors during the deployment will be shown in the Design Console.
Once the deployment is successful, you will see a changed status. You can also see all your deployed and/or released project versions from the project status list next to the project name.

Run You cannot edit released or deployed projects. To continue working on your project, you need to select the Editable option.
You have successfully deployed your project. It is time to run the process and see the results.
Open the process builder of the deployed version, and choose Order Processing Form to get the form URL which can be directly opened from the web browser.

Run When you open the form in the browser, you will have all the input fields as you have defined in the process trigger form. Fill the form and choose Submit.

Run After you select the submit button, you will be notified that the form has been successfully submitted. This means that the workflow has been triggered and the approval process has started.

Run
Monitoring business process is one of the key aspect of the automated processes. Technical monitoring is an administrator job where a process admin proactively and consistently monitors the process performance, identifies any issues in the process and takes necessary actions to ensure business process continuity.
SAP Build provides different applications to monitor and manage different process artifacts.
Choose the SAP logo to go to the lobby.

Run Choose Monitoring.

Run To monitor all the running instances of the process, you have to go to Monitor then Process and Workflow Instances.

Run In there, you will see all the running, erroneous and canceled process instances. Use the filter bar to get a more customized view of the process instances based on different statutes like running, completed, canceled, erroneous etc.
Choose your process instance that was just triggered via the start form.
As you can see the process is waiting for the task to be completed. These tasks are generated from the forms that are added in the process and can be accessed via the My Inbox application. In logs, you can see the entire trace of how the process has been progressing with some basic runtime information of each activity.

Run Notice the Recipients list. This is the same as configured in the General section of the Approval Form. The task will go into the inboxes of all the recipients.
Observe the process context which is the actual process data flowing across different activities in the process. This option contains the information that you entered in the Order Approval Request Form.

Run
Choose the My Inbox icon from the lobby.

Run Tasks are the request for the users to participate in an approval or review process. These tasks appear in the My Inbox application shipped with SAP Build. User can claim, approve and reject the task from their inbox.

Run Once you approve/reject the approval task, refresh the inbox again to get the final notification based on action taken. Once you acknowledge the notification sent via the approval process, the process will be completed.

Run
The entire project is available in the SAP Build Store as a sample and you can follow the below steps to retrieve the project and use it for reference.
This sample project can be downloaded from the SAP Build Store.
To retrieve this sample, please follow these steps:
From the SAP Build Lobby, navigate to Store.
Search for the sample project: Sales Order Management (MI01).
Choose Create from Template to retrieve the sample and save it as a new project in your lobby.

Store Choose Create.

Create Your project gets created in editable version. You may release and deploy it and run the project.
Navigate back to the lobby by clicking on the SAP logo.

Project You can see your project is available in the lobby.

Lobby
Resources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.