2021-06-24T18:30:00Z
Hello Community, I have problem with Assign activity
Issue is not showing in workflow designer
But, At Runtime, it is showing like below… But the same code working fine with multi assign activity
Message: Compilation failures occurred:
Cannot implicitly convert type 'object' to 'string'. 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.
Exception Type: System.InvalidOperationException
RemoteException wrapping System.InvalidOperationException: Compilation failures occurred:
Cannot implicitly convert type 'object' to 'string'. 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 workflowFile)
at UiPath.Executor.WorkflowRuntime.Load(String workflowFile)
at UiPath.Executor.RobotRunner.InitWorkflowApplication()
at UiPath.Executor.RobotRunner.d__86.MoveNext()
PFA .xaml file for your reference
NumberValidation.xaml (24.9 KB)