Error when sending emails as guest

0
Hi there, We try to build a 'forgot password' functionality and we are pretty far. Only the last part of the total functionality gives an error we can't handle. Scenario: A guest clicks on the 'forgot password' link. He is getting deeplinked to a webform where he can ask for a new password. He provides his username and hits the button 'Send password'. Now, some checks or done and when they are correct the 'reset password' functionality is triggered. This functionality worked smoothly until now. Now, we get an java error when sending the email. This email functionality is the SendEmail functionality of the EmailTemplate module. The error we got is: li: No connecting flow found after processing activity 'Done?' (gateway value: empty) in microflow When we debug this the model stops when the SendEmail functionality checks if this lognode is traceEnabled. SMTPConfiguration config = new SMTPConfiguration(); if (this._logNode.isTraceEnabled()) { this._logNode.trace("Setting up SMTP configuration ( host: " + this.SMTPHost + ":" + this.SMTPPort + " user: " + this.SMTPUserName + " from:" + this.FromAddress); } Does someone has seen this problem before and knows how to fix it? Reminder: the functionality is triggered by a guest.
asked
2 answers
0

This error happens when a boolean value is accidently empty (and not true or false). This happens in 'Done?' You can correct this value beforehand.

But that is not the cause of this problem.

Check the apply entity access. (should be off for anymous access) or assign the guest user write-access to the attribute.

EDIT: the anonymous user has a role in the system (security/anonymous users). You can give this role rights to run the microflow and see/edit the attributes.

answered
0

Thanks for your response Chris. but I do not understand how this will solve my problem. I do not think there is something like guest access for this java action, is there? And entity access is set to false.

The attribute Done is a result of the Java action SendEmail, which comes from the module EmailTemplate. Should I change something in the java action to make this work?

The microflows triggering the action do have anonymous access, so I cant logically explain why this is not working, but I am also not a Java programmer so maybe its just something small in the Java action.

answered