I was wondering how Contour works or is supposed to work if a custom workflow returns the Failed status?
To me it seems like version 1.0.9.1 proceeds as everything went fine, no notification or other way to handle this.
I would prefer if the record was marked as corrupt, the user notified about a problem/error or provide the developer a way of controlling the feedback to the user. Perhaps a new setting with link to error template/page and then include the guid of the failed record in the querystring.
WorkflowExecutionStatus
Hi,
I was wondering how Contour works or is supposed to work if a custom workflow returns the Failed status?
To me it seems like version 1.0.9.1 proceeds as everything went fine, no notification or other way to handle this.
I would prefer if the record was marked as corrupt, the user notified about a problem/error or provide the developer a way of controlling the feedback to the user. Perhaps a new setting with link to error template/page and then include the guid of the failed record in the querystring.
thanks,
Harald
I also can conur that this occurs with 1.1.4. Kind of baffling.
Hi,
I had the same problem and it looks as if there is no built in solution for this... What i do is in my custom workflow i add a session variable
e.Context.Session["Err"] = "ERR_1";
and in my custom form
@if (Model.SubmitHandled)
{
var error = Context.Session["Err"];
}
Hope this helps...
is working on a reply...