Getting Validation error after project migration from Windows Legacy to Windows, hot to resolve:
Internal constraint exception while running constraint with name ‘Constraint’ against activity of type System.Activities.Statements.Sequence with name ‘Sequence’. Exception was: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout) at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary2 inputs)
at System.Activities.Validation.ActivityValidationServices.RunConstraints(ChildActivity childActivity, ActivityCallStack parentChain, IList1 constraints, ProcessActivityTreeOptions options, Boolean suppressGetChildrenViolations, IList1& validationErrors)
I’m not getting this error while opening any workflow. It was working fine earlier, I made some change in one of the Type Into activity (updated text to be typed and nothing else). Now when I’m trying to run the project I’m getting this error.
Issue seems with the Check activity, I’ve tried deleting that activity and upgrade the UiAutomation package to latest stable version and added new Check activity but still it’s giving validation error?