I tried to save the workflow, but I have faced this error. Anybody can help me with this?
Can you show us your ouput pane and log details?
Here is my workflow log details"
Save: UiPath.Studio.Contracts.RecoverableException: Workflow uses types which could not be resolved. Please review the output pane for more information before continuing with current operation. —> System.ArgumentException: ‘a’, hexadecimal value 0x07, is an invalid character.
at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize)
at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)
at System.Xml.XmlEncodedRawTextWriterIndent.WriteString(String text)
at System.Xml.XmlRawWriter.WriteValue(String value)
at System.Xml.XmlWellFormedWriter.WriteValue(String value)
at System.Xaml.XamlXmlWriter.InMember.WriteValue(XamlXmlWriter writer, String value)
at System.Xaml.XamlXmlWriter.TryContentPropertyInTryAttributesState.WriteValue(XamlXmlWriter writer, String value)
at System.Xaml.XamlXmlWriter.WriteValue(Object value)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Activities.XamlIntegration.ActivityBuilderXamlWriter.ImplementationNode.ObjectFrame.FlushMembers(XamlWriter parentWriter)
at System.Activities.XamlIntegration.ActivityBuilderXamlWriter.ImplementationNode.WriteEndObject()
at System.Activities.XamlIntegration.ActivityBuilderXamlWriter.WriteEndObject()
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Xaml.XamlServices.Save(XamlWriter writer, Object instance)
at UiPath.Studio.Plugin.Workflow.Serializer.WorkflowXamlSerializer.SaveAsString(ActivityBuilder activityBuilder)
at UiPath.Studio.Plugin.Workflow.Validation.DesignerStateValidator.GetSaveValidationError(Boolean flushEdits)
— End of inner exception stack trace —
at UiPath.Studio.Plugin.Workflow.Validation.DesignerStateValidator.ValidateForSave(Boolean flushEdits)
at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.Save(String fileName)
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileService.<>c__DisplayClass14_0.b__1()
at UiPath.Studio.Shared.MVVM.Services.DispatcherExtensions.Invoke(Dispatcher dispatcher, Action action, Boolean onlyBeginInvokeWhenNoAccess)
at UiPath.Studio.Shared.MVVM.Services.DispatcherService.Invoke(Action action, Boolean onlyInvokeWhenNoAccess)
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileService.Save(String fileName, String workflowId)
at UiPath.Studio.Plugin.Workflow.Services.Interfaces.IDesignerFileService.Save(String fileName, String workflowId)
at UiPath.Studio.Plugin.Workflow.Services.DesignerFileServiceProxy.Save(String fileName, String workflowId)
at UiPath.Studio.Plugin.Workflow.Shared.Document.WorkflowDocumentFactoryBase.SaveAsync(IDocument item, SaveInformation info)
at UiPath.Studio.Core.Services.PersistableServiceBase3.<OnSaveAsync>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Shell.Services.DocumentService.<OnSaveAsync>d__54.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at UiPath.Studio.Core.Services.PersistableServiceBase
3.d__14.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.Services.DocumentService.d__51.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Shell.ViewModels.MainWindowViewModel.d__231.MoveNext(), HResult -2146233088
output pane:
Have you resolved this issue? If not, would you be able to share this workflow with us via a private message @loginerror?
Even i am facing the same issue. How can it be resolved?
Hi,
I was able to find a solution when this error showed with me. The issue was in a part of an annotation to an activity. When I deleted the highlighted part of the annotation and tried saving again (with a click outside the sequences, to the surrounding canvas), everything worked fine.
A bit late for you, but maybe it will be helpful to somebody else.
Cheers!