How to create a NOTIFY process by clicking a button

hii all,

i have a requriment of placing a NOTIFY button  in interface , once a new request is entered into a approval interface he has to take an action , once he took an action he needs to notify the remaining users by sending a mail by clicking a NOTIFY BUTTON , based on the request status we should sent an email by clicking NOTIFY USER BUTTON with request id , its like a push notification by sending a mail, based on request status we will sent different mails.

thanks in advance 

  Discussion posts and replies are publicly visible

Parents Reply
  • +1
    Certified Senior Developer
    in reply to Ramesh Babu

    Hello ,

    Hope you are doing well!

    Step 1: You need to create a process model with send email smart service and and it should be configured with the content that you would like to send to your recipients. Make sure you give the recipients as per your requirement.

    Step 2: Create a constant for your process model.

    Step 3: Use the a!startProcess() in your interface and in the process model parameter you call your constant.

    If you want to pass the data from the interface create your process model with the required process variables as parameters and pass the data from the interface.

    But if you want to pass the request Id you might want to configure the send email smart service node after your write to data store entity smart service and pass the output from the Write to data store entity smart service. I am assuming your request Id is an auto increment value.

Children