B2B Service

Get Involved. Join the Conversation.

Topic

    Shaheela D
    Email is triggering multiple times
    Topic posted October 21, 2019 by Shaheela DBronze Medal: 1,250+ Points, tagged Channels, Configuration and Administration, Performance - Fusion, Service Request Management 
    13 Views
    Title:
    Email is triggering multiple times
    Summary:
    Email is triggering multiple times on Service request object
    Content:

    Hi Team,

    We have two email templates and which will trigger through object workflow based on the SR type(category) and SR status. Below is my scenario

    1. If the SR status is resolved and the category value is 1, then I need to send the first email and this is working fine.

    2. If the SR status is resolved and the category value is other than 1, then I need to send the other template. Here when I mention the category value as not equals to category 1. But the application is not accepting not equals(!=) operator. So the mail is not getting triggered

    3. Another way is that, if the category value is 1, then return false. At that time the email is getting triggered correctly but I am receiving multiple emails.

    We have n no. of categories, So every time If I giving all the category values inside condition, the length of the code will be extend. Thats y I try to use the vice versa of the first scenario.

    Please refer the below code I have written

    If anyone knows, please help me to solve this.

    Thanks,

    Shaheela

    Version:
    19C
    Code Snippet: