SendEmailNotification failing by throwing PRRuntimeException

Hi,

We have a requirement where we are calling SendEmailNotification activity through a queue processor and we are passing the required parameters to the activity. But for some reason we are see this activity failing in production. We were able to debug the issue to some extent, the java step in the ‘SendEmailNotification’ is where the exception is being triggered. But we were not able to exactly pinpoint the reason for failure as we see the params are correctly being passed. Please find the screen shot below for the same.

@YogeshK9 error in logs will give you better idea. Also, enable logger for this activity in log settings to see activity logs.

@YogeshK9

We identified that the issue. It is the issue with the ‘EmailID’ syntax. We are not validating the email address before sending the email id as a parameter to the activity. hence the exception.