I've created this very simple workflow just to test Contours's workflow functionality:
public class PopulateNewsletter : WorkflowType
{
public PopulateNewsletter()
{
this.Name = "The newsletter signup workflow";
this.Id = new Guid("8e651415-182e-4358-8e4d-54c61ce70855");
this.Description =
"This will populate the email address";
}
public override List<Exception> ValidateSettings()
{
return new List<Exception>();
}
public override WorkflowExecutionStatus Execute(Record record, RecordEventArgs e)
{
return WorkflowExecutionStatus.Completed;
}
}
In the workflows section of my Newsletter form I added my newly created workflow to the 'When the form has been Opened' stage.
However when I open the page that the form renders on, the workflow is not executed. In addition to this, the workflow is executing after I have submitted the form, despite the 'When the form has been Submitted' stage being dissociated with a workflow type.
So it seems both the 'When the form has been Opened' and the 'When the form has been Submitted' stages are doing the same thing. I've seen other posters on this forum having a similar issue, which indicates there's a potential bug here.
We're using Umbraco 7.1.6 and Contour 3.0.21, using .Net 4.5.
Does anyone have a solution for this? If not, could someone from Contour investigate this? Our project deadline is fast approaching and this is one of the last pieces of functionality we need, so any help on this issue would be greatly appreciated.
'Form Open' workflow event not working
I've created this very simple workflow just to test Contours's workflow functionality:
In the workflows section of my Newsletter form I added my newly created workflow to the 'When the form has been Opened' stage.
However when I open the page that the form renders on, the workflow is not executed. In addition to this, the workflow is executing after I have submitted the form, despite the 'When the form has been Submitted' stage being dissociated with a workflow type.
So it seems both the 'When the form has been Opened' and the 'When the form has been Submitted' stages are doing the same thing. I've seen other posters on this forum having a similar issue, which indicates there's a potential bug here.
We're using Umbraco 7.1.6 and Contour 3.0.21, using .Net 4.5.
Does anyone have a solution for this? If not, could someone from Contour investigate this? Our project deadline is fast approaching and this is one of the last pieces of functionality we need, so any help on this issue would be greatly appreciated.
Hey! Just bumped into this same issue. Did you get this fixed?
Unfortunately, there is no solution currently, except a workaround posted here: http://our.umbraco.org/forum/umbraco-pro/contour/52962-Opened-Event-of-Simple-Custom-Workflow-Is-Not-Working
Please vote up our bugreport on codeplex. Hoping HQ will fix this issue quickly.
Tim fixed it!
It's coming out in version 3.0.22.
http://issues.umbraco.org/issue/CON-593
Comment author was deleted
Yup fix is coming in 3.022 that will be out in a couple of days
Comment author was deleted
It's out, you can find it on the project page http://our.umbraco.org/projects/umbraco-pro/contour
upgrade instructions can be found here http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Installation/Upgrade
is working on a reply...