Skip to Content

Add Action to Business Process

Add the action in the business process to connect to the backend system
You will learn
  • to import sample process
  • to discover action from action library
  • to add and configure action to the business process
  • to map input fields of the action to the actual process content
  • to release and deploy business process with actions
ArchanaShuklaArchana ShuklaJanuary 18, 2023
Created by
celineaudinsap
January 16, 2023
Contributors
celineaudinsap

Learn how to add the action in the business process to connect to backend system. You can do this by choosing the relevant action from the actions library, and then configuring the action’s parameters.

  • Step 1
    1. In the Process Builder canvas, click the + in output connector of Auto Approval Notification.

      Add Artifact
    2. In the list, choose Actions > Browse library.

      Browse Action
    3. In the action library pop up, enter the action name like Sales Order, to find the list of actions on sales order published by you in the library.

      Search Action
    4. From the filtered list of actions, click Add on the action which is to create sales order.

      This will add the action to connect process to the backend system in your business process.

      Add Action
  • Step 2
    1. In General tab of action parameters, choose the corresponding Destination variable that you previously created.

      Add Destination Variable
    2. Click Inputs tab, and map each input to the actual process content.

      Input Field Process Content
      DistributionChannel Order Processing Form > Distribution Channel
      OrganizationDivision Order Processing Form > Division
      PurchaseOrderByCustomer Order Processing Form > Order Number
      SalesOrderType Order Processing Form > Sales Order Type
      SalesOrganization Order Processing Form > Sales Organisation
      SoldToParty Order Processing Form > Ship To Party (Customer)
      Map Inputs
    3. In Outputs tab, check to make sure all outputs are same as defined in the action project.

      Check Outputs
    4. Finally, update the connections of Order Confirmation Form activity in the business process such that once the order is confirmed the sales order is created in the backend system.

      • select and delete the output connector from Order Confirmation Form to End activity.

      Select and delete connector
      • Drag and drop the + in the output connector of Order Confirmation Form to the action activity.
      Drag and drop connector

      You can connect these nodes by simply dragging and dropping the lines. If a connected line can’t be moved, simply click and delete the line, then drag and drop the resulting unconnected line to the proper node.

      The final process should be same as shown below. Ensure that you have the right connections such that Auto Approval Notification Form and Order Confirmation Form connects to Action activity.

      Deployed
    5. Click Save to save your work.

    Where can you discover action while adding to business process?

  • Step 3

    You will now release and deploy your project. The release process allows for semantic version control with format X.Y.Z, where you will be able to increment your project release version based on a major version change (X), minor version change (Y), or bug/patch version change (Z). Deploying your project will allow you to set the proper parameters, if necessary, to allow for project execution.

    There are two possible situations:

    • When you’re releasing a new business process project, enter a brief summary of the changes in the Release Notes (optional) then choose Release.
    • When you’re releasing a modified version of a business process project that is already released, in the release Version Contains dialogue, select one of the following:
      • Select Bug Fix to indicate bug fixes. It updates the third digit of the version number.
      • Select Minor Changes to indicate small modifications. It updates the second digit of the version number.
      • Select Major Changes to indicate important modifications potentially leading to incompatibility between versions. It updates the first digit of the version number.
    1. In the Process Builder, click Release.

      Release
    2. For the first version, add a Version Comment if needed and click Release.

      Release first
      • For the additional version, choose the type of version, add a Version Annotation if needed and click Release.
      Release new
    3. The successfully released project is ready to be deployed.

      If needed, you can refer to the Documentation.

      Released
  • Step 4

    You can deploy business process projects from each released version of the project in the Process Builder or through Lobby.

    1. From the released version of the business process project in the Process Builder, click Deploy.

      Start Deploy
    2. From the drop-down select the destination S4HANACloud and click Confirm.

      Variables allow you to reuse certain information for a given business process project deployment.

      You use variables to pass parameters to automations. You can create variables in the Process Builder for which you can later set values when deploying the business process project. For example, in the current use case, you have created a Destination variable. Please use the same destination S4HANACloud.

      Deploy confirm first
    3. Click Deploy.

      Deploy

      The successfully deployed project is ready for running and monitoring.

      If needed, you can refer to the Documentation.

      Deployed

      You’ve successfully imported a sample process, added an action to create a sales order and configure the action with the environment variable to get the connection details from destination in SAP BTP cockpit.

Back to top