When testing the 'cancel' option in our process model, the process seems to work fine. The blue line goes to the Cancel? --> Yes path, which is as expected. The weird thing is that there is, when debugging, a green line at a send mail function, which causes an error.
"Problem: An error occurred in executing an Activity Class.
Details: No valid recipients resolved
Recommended Action: Examine the activity class to correct the error and then resume.
Priority of this problem: High Priority"
The error says that there is no valid recipient resolved, which is correct. The process is cancelled, so it should not be a problem.
Could anyone give me some advice on why I get an error, while I cancel the process?
Discussion posts and replies are publicly visible
Your Test worked!! ;-)
Thanks :) I did that because my message was deleted when I hovered over the 'Tags' area, and I got a blanc page. I edited the post with my real question.
OK, I found the solution. The 'Send E-mail to Client' smart service was not connected, and so not included anywhere in the process. This was hard to see because the arrows are quite small. I connected the smart service, and now it works fine.
Yeah I've done this before too - one easy way to see if your node is connected or not is to click on the node itself. If the selected line goes beyond the node you selected, it probably means it isn't connected
It seems like your "Send Email" Node is not connected properly. Double check it.
© 2021 Appian. All rights reserved.