How to convert object variable to boolean variable

Hello guys,

I am executing a macro through uipath, output of the macro is object variable and i need to convert object variable to boolean value for the further process.

kindly help
thanks in-advance.

2 Likes

Hi
Convert.ToBoolean(yourobject)
but ensure that yourobject is with value either as True or False
Cheers @asha_TN

1 Like

Thank you

1 Like

Cheers @asha_TN

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