Help Needed: Unable to Cast Object in UiPath Click Activity

Dear Forum,

I am encountering an issue with the Click activity in UiPath Studio. The error message I am receiving is as follows:

Click 'PATH': Unable to cast object of type 'VariableLocation[System.Activities.NoPersistHandle]' to type 'VariableLocation[System.Int32]'.

This error occurs when executing the Click activity in my workflow. I have checked the following:

  • The Selector property of the Click activity is correctly configured.
  • The data types of variables used are as expected.
  • All variables have been properly initialized.

I would appreciate any guidance or suggestions on how to resolve this issue. If you need additional details about my workflow or settings, please let me know.

Thank you in advance for your help!

Best regards,
Finnnnnnnn

Hi!

The only thing I could find advises to restart Studio.
Exception: NoPersistHandle - Help / Activities - UiPath Community Forum

1 Like

Hi @FINNNNNNNN

It will help us to understand your issue , if you share us more info on the workflow or share descriptive screenshots .

Thanks, We find there is a variable type error and we fix it.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.