Hello everyone, im trying to create more workflows inside the same project, but allways the second workflow doesn’t run. eg. the main workflow runs normally, but the second throws the next error:
Error: UiPath.WorkflowProcessor.Common.Exceptions.UiPathLocalizedException: Object reference not set to an instance of an object.
at UiPath.WorkflowProcessor.Common.Preprocessing.WorkflowDocumentPreprocessor.TryGetDependencyTree(LoggingScope scope, String xamlFilePath, IDictionary2 codeSourceFiles) at UiPath.Studio.ProjectCompiler.Services.ProjectCompilerService.TryCalculateCompilationDependencies(String projectName, String projectPath, IEnumerable1 workflowsToCompile, IDictionary`2 codeSourceFiles), HResult -2146233088
In that case, could you let us know if you are able to open the Second workflow separately and also could you try removing the workflow and adding it again ?
I believe there is a similar error encountered in some of the other posts :
It points to workflow file naming convention, Could you try renaming the workflow file by navigating to the Folder Path and change the name from .XAML to .xaml file extension and then check if it works ?
Also, Keep a backup of the workflow before performing this.