Error on the Assign Activities

Hello,

I am brand new here, and I tried doing my very first UiPath exercise here:

I am unable to get the program to run because of two errors on the assign: Cannot assign from type error ‘System.Boolean’ to type ‘System.String’ in assign activity ‘Assign’. See screenshot.

Is anyone able to tell me what I’m doing wrong?

Thanks!
Rebecca

1 Like

Change your variable type in the variables pane to boolean.

2 Likes

@rebcaudle - boolMale should be created as Boolean type. I think you might have created it as a String type.

2 Likes

Yes! Thank you so much. That fixed it : )

1 Like

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