Cannot Set Unknown Member UiPath.Core.Activities.Click.AlterIfDisabled

Xaml throws error messages that are tied back to the packages " Failed to load the assembly " and on trying to run it, it errored on another Xaml throwing error Validation Error " Cannot set unknown member UiPath.Core.Activities.Click.AlterIfDisabled " .

  • Upgrade UiPath.UiAutomation.Activities

The "AlterIfDisabled" feature in Click activity is introduced in UiPath.UiAutomation.Activites version 20.2.0 preview. Develop a workflow in the community version(higher version) of the UiPath Studio and try to run the process in the Enterprise version (lower version)


UiPath does not support forward compatibility which means a project developed in the higher version will not run on the lower version.


Workaround:

  • Install UiPath.UiAutomation.Activites version 20.2.0 preview(or higher) from the Manage packages section ( Ensure "Include prerelease" is checked).

However, it is not recommended to run the preview version in Enterprise workflow as it may be unstable.