Cannot implicitly convert type 'object' to 'decimal'. An explicit conversion exists (are you missing a cast?) Cannot implicitly convert type 'object' to 'decimal'. An explicit conversion exists (are you missing a cast?)
Complete results are contained in the Data property of this exception. Please correct the errors in the source and retry the Load.
at System.Activities.XamlIntegration.ActivityXamlServices.Compile(IDynamicActivity dynamicActivity, LocationReferenceEnvironment environment)
at System.Activities.XamlIntegration.ActivityXamlServices.Load(XamlReader xamlReader, ActivityXamlServicesSettings settings)
at System.Activities.XamlIntegration.ActivityXamlServices.Load(XmlReader xmlReader, ActivityXamlServicesSettings settings)
at System.Activities.XamlIntegration.ActivityXamlServices.Load(Stream stream, ActivityXamlServicesSettings settings)
at UiPath.Executor.WorkflowLoader.LoadWorkflow(String xamlPath, String compiledWorkflowAssemblyName)
at UiPath.Executor.WorkflowRuntime.Load(String workflowFile)
I tried double-checking the program and even checking the XAML file, but I still am unable to find the issue.
By Debugging we can get to know, which Activity is giving out this Error and then We can Continue our Analysis from that Point.
As it a Workflow Containing many Activities in a Single xaml, we would recommend to Split it into different workflows and Invoke them, Also Renaming of the Activities would help us Identify the Error Point faster.
I actually came across that post before posting this topic. I tried searching within the XAML file but I cant seem to find the same root of the issue mentioned in that post. Which is why I posted this topic because I cant think of any other possible issues that can cause this.
Thank you for your help. I opened up the XAML FIle again to double check and found the error after searching for “X:Object” within the file. It was one of the Assign Activities at the start of the workflow.
But still, thank you for taking the time to help me with this and I sincerely appreciate your efforts.