Email Notification

Sai Krishna6147
Mega Guru

Hi All

I need  a application by using creator studio which have to get the email notification after the approvals.

2 ACCEPTED SOLUTIONS

PrashantLearnIT
Giga Sage

Hi @Sai Krishna6147 

 

Creating an application in ServiceNow Creator Studio that sends an email notification after approvals can be done by following these steps. This process involves building an approval workflow and using notifications to trigger an email after the approval is completed.

Steps to Create the Application:

1. Create a New Application

  • Navigate to Creator Studio:
    • Go to System Applications > My Company Applications > Create Application.
  • Name your application and set up the necessary configurations.
  • Define a Table: Create a table that will be used for managing approvals (e.g., Approval Requests).

2. Design the Form

  • In Creator Studio, use the Form Designer to design the form for your Approval Request table.
  • Add fields such as:
    • Request Details
    • Approver (User field)
    • Status (Pending, Approved, Rejected)
    • Any other relevant fields

3. Set up an Approval Flow

  • Navigate to Flow Designer:
    • Go to Flow Designer (by searching for it in the navigation pane) and create a new flow.
  • Trigger: Set the flow to trigger when a new record is created or when the status changes (such as moving to the "Pending" status).
  • Approval Action:
    • Add an action to request approval from a user or group.
    • Configure the approval rules (e.g., request approval from the Approver field defined in the form).
    • Configure the outcome of the approval (Approved, Rejected).

4. Send Email Notification after Approval

  • After the approval action, add a new step in the flow to send an email.
  • Email Action:
    • Select the Send Email action in the Flow Designer.
    • Configure the recipient (such as the requestor or a specific person), and write the email content.
    • You can personalize the email content using variables such as the approver’s name, approval status, etc.
    • Example:
      • Subject: "Your Request has been Approved"
      • Body: "Hi [User Name], your request [Request ID] has been approved by [Approver Name]."

5. Test the Application

  • Create a new record and set it to the Pending state.
  • Approve the request and verify that the email notification is sent after the approval.

6. Publish and Deploy the Application

  • Once tested, you can publish the application and deploy it for use in your ServiceNow instance.

Workflow Overview:

  1. User submits request → Record is created.
  2. Approval request is sent to the specified approver.
  3. Approval or rejection happens.
  4. After approval, an email notification is sent to the requestor or another relevant party.

Key Components:

  • Table: Stores approval requests.
  • Flow: Manages the approval process and email notification.
  • Notification: Triggered by the outcome of the approval process.

This process allows you to automate email notifications based on approvals within a custom application built with Creator Studio.

 

 

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

View solution in original post

brahmandlapally
Mega Guru

Hi @Sai Krishna6147 

 

Add Email Notification after Approvals done in playbook add subject and tickets details if needed in body.

Thank you

 

View solution in original post

4 REPLIES 4

VishaalRanS
Tera Guru

Hi @Sai Krishna6147 

 

To create an application in ServiceNow using Creator Studio that sends email notifications after approvals, start by accessing Creator Studio and creating a new application with a name, scope, and description. Next, design a table to store approval requests, adding relevant fields like requested_by, approval_status, and email. Build an approval workflow by dragging and dropping approval activities to define the approval process.

 

Once the workflow is established, configure email notifications by navigating to System Notification > Email > Notifications and setting conditions for when emails should be sent, such as when the approval_status changes.

 

Define the recipients and compose the email message, including dynamic fields for details. After testing the application by submitting a request and performing approvals, ensure everything works as intended before publishing the application for end-users.

 

Thanks, and Regards

Vishaal

Please mark this response as correct or helpful if it assisted you with your question.

PrashantLearnIT
Giga Sage

Hi @Sai Krishna6147 

 

Creating an application in ServiceNow Creator Studio that sends an email notification after approvals can be done by following these steps. This process involves building an approval workflow and using notifications to trigger an email after the approval is completed.

Steps to Create the Application:

1. Create a New Application

  • Navigate to Creator Studio:
    • Go to System Applications > My Company Applications > Create Application.
  • Name your application and set up the necessary configurations.
  • Define a Table: Create a table that will be used for managing approvals (e.g., Approval Requests).

2. Design the Form

  • In Creator Studio, use the Form Designer to design the form for your Approval Request table.
  • Add fields such as:
    • Request Details
    • Approver (User field)
    • Status (Pending, Approved, Rejected)
    • Any other relevant fields

3. Set up an Approval Flow

  • Navigate to Flow Designer:
    • Go to Flow Designer (by searching for it in the navigation pane) and create a new flow.
  • Trigger: Set the flow to trigger when a new record is created or when the status changes (such as moving to the "Pending" status).
  • Approval Action:
    • Add an action to request approval from a user or group.
    • Configure the approval rules (e.g., request approval from the Approver field defined in the form).
    • Configure the outcome of the approval (Approved, Rejected).

4. Send Email Notification after Approval

  • After the approval action, add a new step in the flow to send an email.
  • Email Action:
    • Select the Send Email action in the Flow Designer.
    • Configure the recipient (such as the requestor or a specific person), and write the email content.
    • You can personalize the email content using variables such as the approver’s name, approval status, etc.
    • Example:
      • Subject: "Your Request has been Approved"
      • Body: "Hi [User Name], your request [Request ID] has been approved by [Approver Name]."

5. Test the Application

  • Create a new record and set it to the Pending state.
  • Approve the request and verify that the email notification is sent after the approval.

6. Publish and Deploy the Application

  • Once tested, you can publish the application and deploy it for use in your ServiceNow instance.

Workflow Overview:

  1. User submits request → Record is created.
  2. Approval request is sent to the specified approver.
  3. Approval or rejection happens.
  4. After approval, an email notification is sent to the requestor or another relevant party.

Key Components:

  • Table: Stores approval requests.
  • Flow: Manages the approval process and email notification.
  • Notification: Triggered by the outcome of the approval process.

This process allows you to automate email notifications based on approvals within a custom application built with Creator Studio.

 

 

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

brahmandlapally
Mega Guru

Hi @Sai Krishna6147 

 

Add Email Notification after Approvals done in playbook add subject and tickets details if needed in body.

Thank you

 

thullurishalini
Kilo Guru

Hi @Sai Krishna6147 

To create an application in ServiceNow using Creator Studio that sends email notifications after approvals, follow these steps:

  1. Create the Application:

    • Open Creator Studio and start a new application.
    • Define the application’s data model, including tables and fields.
  2. Set Up Approvals:

    • Configure the approval process by defining approval rules and workflows.
    • Use the Flow Designer to create an approval flow that triggers when a record meets certain conditions.
  3. Configure Email Notifications:

    • Go to the Notifications module.
    • Create a new email notification and set the conditions to trigger the email after an approval action.
    • Define the email template, including the subject, body, and recipients.
  4. Test the Application:

    • Test the entire workflow to ensure that the email notifications are sent correctly after approvals.

Thanks

Shalini.