cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in Service Task

dmsaad
Champ in-the-making
Champ in-the-making
I want to get to the basic notion of going on to the next task even if a problem occurs in a service task that's sending emails. I attached the basic diagram of what I am trying to achieve. So basically if sending the emails failed for some reason, for example the mail server is down; for my particular case I don't care that the email wasn't sent. I still want it to keep trying which it does but my problem is it doesn't move on to the user task. I tried making them parallel, which get's me into the user task but once the user performs the action and end task is called, I no longer need to worry about the email never making it through. I want to be able to exit the subprocess.

Thanks a lot.

1 REPLY 1

dmsaad
Champ in-the-making
Champ in-the-making
Here is the solution that I found, not sure if it's the best way to tackle this but might be helpful to other people.

setting this property on the mail params makes it ignore sending failure and end the task

mail.parameters.ignore_send_failure = true;