Clarity

  • 1.  Issue with gel:email when repeated email IDs in To list

    Posted Apr 25, 2017 03:55 AM

    Hi All,

     

    We are in Clarity 13.3. I wrote a gel script on Project object which will trigger on a field update.

     

    Process sends the email notification to : Project Manager, Process initiator, Support email (hardcoded)

     

    <gel:email
    from="noreply@claritysupport.com"
    to="${Manager_email};${IntiatedBy_Email};abc@clarity.com"

     

    It has been observed that when Manager and initiator is same hence having same emailID, mail not sent to anyone.

     

    In all other scenario, it works fine.

     

    Is it a known Issue ? if so, is it resolved in subsequent versions ?

     

    Regards,

    Khushboo



  • 2.  Re: Issue with gel:email when repeated email IDs in To list

    Posted Apr 25, 2017 06:03 AM

    This seems to happen in 15.2 as well. May be you can use 3 different <gel:email> tags as a workaround?



  • 3.  Re: Issue with gel:email when repeated email IDs in To list

    Posted Apr 25, 2017 06:25 AM

    ...or just code around it in the GEL (don't need 3 tags) - just programatically build the "to" list as a variable and don't put duplicate emails into it.

     

    Strange BUG though it seems ; would need recording & fixing - have you raised it with CA Support?



  • 4.  Re: Issue with gel:email when repeated email IDs in To list

    Posted Apr 25, 2017 06:23 AM

    Hi Khushboo,

     

    You can use a simple comparision before adding recepints name to email tags.

    Something like this 

    <core:if test="${Manager_email == IntiatedBy_Email}">
    <core:set value="true" var="email_recp_duplicate_flag"/>
    </core:if>

    Now use this flag value to send email and this will aviod duplicate issue.

     

    Regards,

    Prashank Singh