SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Add Mail Notifications to a Process

Add mail notifications to your business process via the process builder

Overview

🎓 beginner 10 min. SAP Build Process AutomationBeginnerSAP Business Technology PlatformFree Tier

You will learn

  • โœ”How to create and send Mail notification
  • โœ”How to retrieve the sample project from the Store Mail feature allows you to add mail notifications to your business process via the process builder, allowing you to send preconfigured emails to recipients while a process is running.
Win Acharya W Win Acharya December 11, 2023
Created by November 21, 2022
Contributors

Prerequisites

Steps

Intro

In this tutorial, you will learn how to use Mail in a business process to inform the user when the sales order is approved manually.

Step 1 Create and configure mail notification
โ€”

Now that you have designed the process with forms, you can define the mail notifications to send when the sales order is approved manually. We intend to replace the existing Order Confirmation Form with the Mail.

  1. The current process looks like the following:

    The Sales Order Process
    The Sales Order Process

  2. First, remove the Order Confirmation Form.

    • Open the Process Builder.
    • Select Order Confirmation Form.
    • Choose Remove.

    Remove Order Confirmation Form
    Remove Order Confirmation Form

  3. Now add Mail for approval flow. To add a Mail do the following:

    • Select + corresponding to Approve of the Approval Form.
    • Choose Mail.

    Add mail for approval
    Add mail for approval

    The mail notification is added to the process and the settings are displayed in the side panel.

    Mail Added
    Mail Added

  4. Click Open Mail Body Editor and configure the mail body.

    Click Open Mail Body Editor
    Click Open Mail Body Editor

    The mail body can include the following:

    • Text
    • Process context information (such as the Form fields in the example)
    • Process metadata (such as the ‘Process Started By’ information)

    Add mail Body Editor
    Add mail Body Editor

    • Click Apply
  5. Configure the Mail Header fields

    • To : The recipient of the mail notifications. Either add specific mail addresses or use information taken from process metadata or context.
    • Subject :The subject of the mail itself. Either add specific text here or use information taken from process metadata or context.
    • CC : The copied recipient of the mail notifications. Either add specific mail addresses or use information taken from process metadata or context.
    • BCC : The blind copied recipient of the mail notifications. Either add specific mail addresses or use information taken from process metadata or context.

    Approval Mail Details
    Approval Mail Details

    The mail notification is added to the process, with mails sent to recipients when a process is running. You might need to drag the components after the artifacts are deleted in the process builder

  6. Save your work.

    The process should now look like the following:

    Sales Order with Mail Notifications
    Sales Order with Mail Notifications

Step 2 Release, deploy and run the business process
+
Step 3 Test Results
+
Step 4 Retrieve sample project from the store
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Create and configure mail notification 2. Release, deploy and run the business process 3. Test Results 4. Retrieve sample project from the store

Learn more →