For each activity - Does not show type

Properties is empty and there is no extra fields for for each, there is no section to add “CurrentItem” or to add the type of for each.

Occurs for all below versions.
image

Downgrading helps but isn’t ideal.
Does anyone know why this happens or how to fix?

@NiesonF

are these upgraded processes from older versions?

cheers

Hi @NiesonF
I see all the properties loaded and there are all the extra fields for foreach activity
Please have a look at the attached screenshot.
What’s your studio version? and Sometimes, UiPath Studio may not properly render the designer for the “For Each” activity. You can reset your project or restart UiPath Studio.

What’s your OS? I heard from people that UiPath on Windows 11 has a few issues.

Hello @NiesonF , you have to look at the properties panel to see the data type. In the newer versions of Studio, you can no longer manually change the data type and instead it will automatically update depending on what variable you’ve passed into the activity. By Default the data type is System.Object

Checking on System.Activities.25.2.1 that’s not true - you can change the type. What version are you thinking about?

Sidenote - I hope that will never be the case, there’s tons of valid uses where implicit conversions are required in loops (interfaces, base classes and so on).

It will stay as-is, no worries. We learned our lesson.

@NiesonF

This looks like a weird bug. Could you maybe give some more details:

  • Studio version
  • project type (legacy/windows)

As mentioned in the thread already, this isn’t an issue on the latest Studio, so it could be that updating to the latest patch of your current Studio (if older than the latest) might help.

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