UiPath Academy - Training demo video

Getting error

Source: For Each

Message: Unable to cast object of type ‘System.String’ to type ‘System.String’.

Exception Type: System.InvalidCastException

image

Can you post the workflow you have? @ManoUI

@ManoUI

Welcome to the uipath community.

Could you please change the TypeArgument of ForEach loop activity from System.String[ ] to System.string and give it a try.

1 Like

Thanks! It worked :slight_smile:

2 Likes