We have moved to GitHub Issues
Created by Cristiano Martins 22 Feb 2017, 13:14:43 Updated by Patrick Schalkwijk 22 Feb 2018, 13:27:52Tags: Gold partner
Subtask of: CON-1390
Your report will have a greater chance of being addressed if you can give us clear steps to reproduce the issue, please answer the following questions in as much detail as possible: What did you do? Created a new "Send Mail" Workflow, e-mail was sent with success, now I need to disable this workflow so I unchecked the "Active" field inside the workflow. What did you expect to happen? I expect the e-mail to not be sent anymore, when the user fills this form. What actually happened? The e-mail is still being sent What version of Umbraco are you using? 7.5.3 assembly: 1.0.6092.24019 What version of Umbraco Forms or Contour are you using? Umbraco Forms: "4.4.0"
Have also replicated this issue the flag is being set correctly in the workflows (\App_Plugins\UmbracoForms\Data\workflows) but not being triggered
This also doesn't work for the Send Email with Template workflow in Umbraco Forms 6.0.1
I can confirm that this issue still persists in version 6.0.6 for the SendRazorEmail workflow. The workflow is executed regardless of the active (or not) switch.
A Major issue to me as, apart from removing the workflow from the configuration, there is no way to (temporarily) disable a workflow.
When using dotPeek it appears to me that, despite the method name GetActiveWorkflows, all workflows are retrieved instead of the active:
This issue is also in Umbraco Cloud environment (Umbraco version 7.8.1 assembly: 1.0.6614.16975, Umbraco Forms: "6.0.6"). Now that errors are shown in the Portal, it's a big mess of useless errors. All the Umbraco Forms that are submitted are sending out emails even when the active checkbox is off. Because we do not want the forms to be send out by email, we had to add a false to emailaddress. This gives an error and the error logs are showing all these SendRazorEmail Errors.
07:31:00.361 ERROR Umbraco.Forms.Core.Providers.WorkflowTypes.SendRazorEmail There was a problem sending a Razor email to 'firstname.lastname@example.org' from Workflow for Form 'Registration' with id 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' for Record with unique id 'xxxxxxxx-xxxx-xxxx
@email@example.com You can also just remove the workflow from the form if you don't want to send emails. :)
@sebastiaan Too bad...that is not possible with that standard step
just like the message or redirect step in the workflow, email cannot be removed. Or is there another way to do this.
@firstname.lastname@example.org Your styling looks a bit messed up, but I think the floating recycle bin under it will do the trick for you.
@sebastiaan Aha...Internet Explorer... Thank you!
Backwards Compatible: True
Affected versions: 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.6
Due in version: 6.0.7
Sprint: Sprint 79
Story Points: 1