UiPath Academy - Training demo video

https://academy.uipath.com/learn/course/372/play/2312/lesson-3-data-manipulation-part-1-scalar-variables-collections-tables

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