You are viewing limited content. For full access, please sign in.

Question

Question

Failed to publish workflow

asked on January 24, 2018

Hi All 

Im trying do publish new workflow in server, I getting this error

Failed to publish workflow 'sss': An error occurred while saving the workflow 'sss'. [0343-WF1] [0411-WF0]

An error occurred while saving the workflow 'sss'. [0343-WF1]

 

this Diagnostic Data:-

Failed to publish workflow 'sss': An error occurred while saving the workflow 'sss'. [0343-WF1] [0411-WF0]

An error occurred while saving the workflow 'sss'. [0343-WF1]

---Stack Trace---

 

   at Laserfiche.Workflow.ComponentModel.WorkflowSerializer.SaveWorkflow(IWorkflow workflow, XmlWriter writer, Boolean throwError, IWorkflowUI workflowUI)

   at Laserfiche.Workflow.Designer.PublishWorkflowAction.InnerPublish()

   at Laserfiche.Workflow.Designer.PublishWorkflowAction.InnerPublishWithProgress()

   at Laserfiche.Workflow.Designer.PublishWorkflowAction.Execute()

 

***

 

Object reference not set to an instance of an object.

---Stack Trace---

 

   at Laserfiche.Workflow.Activities.ForEach.ForEachValueActivityProxy.WriteProperties(XmlWriter writer)

   at Laserfiche.Workflow.ComponentModel.ActivityProxyBase.WriteXml(XmlWriter writer)

   at Laserfiche.Workflow.ComponentModel.CompositeActivityProxyEx.WriteCustomXmlElements(XmlWriter writer)

   at Laserfiche.Workflow.ComponentModel.CompositeActivityProxyEx.WriteCustomXmlElements(XmlWriter writer)

   at Laserfiche.Workflow.ComponentModel.CompositeActivityProxyEx.WriteCustomXmlElements(XmlWriter writer)

   at Laserfiche.Workflow.ComponentModel.CompositeActivityProxyEx.WriteCustomXmlElements(XmlWriter writer)

   at Laserfiche.Workflow.Activities.Proxies.SequentialWorkflowActivityProxy.WriteCustomXmlElements(XmlWriter writer)

   at Laserfiche.Workflow.ComponentModel.WorkflowBase.WriteXml(XmlWriter writer)

   at Laserfiche.Workflow.ComponentModel.WorkflowSerializer.WriteWorkflowToXml(XmlWriter writer, IWorkflow workflow)

   at Laserfiche.Workflow.ComponentModel.WorkflowSerializer.SaveWorkflow(IWorkflow workflow, XmlWriter writer, Boolean throwError, IWorkflowUI workflowUI)

 

0 0

Replies

replied on January 24, 2018

Does your Designer version match the Workflow Server version?

0 0
replied on January 24, 2018

I have had this as well.  I just save the workflow to a local drive.  Close it.  Reopen the saved one and publish it and it publishes fine.

0 0
replied on January 24, 2018

thanks  Jennifer Ready

this OK. it work for me too

many thanks

0 0
replied on November 20, 2018

Just a warning to others trying this; it didn't work for me and I lost about half of my changes. Not sure why it would save less than what is showing on my screen when doing a save as but it did. I'd hate to see anyone go through the pain of re-building an elaborate workflow as I did. 

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.