I am facing this following error
Could not find member "CurrentIndex’in type "https://schemas.uipath.com/workflow/activities:foreach(String)'.
where i created my workflow in 2019.5 community edition and trying to import the same in
2018.1.4 Enterprise version.
Maybe 2018.1.4 version doesn’t support using CurrentIndex immediately,
So you could try to use following method instead of using CurrentIndex.
For Each:
CurrentIndex = Array.indexOf(array, value)
For Each Row:
CurrentIndex = DataTable.Rows.indexOf(row)
Hi
we need to change the version of the packages to the current one
If that is done in design tab → manage packages → project dependencies with activity packages downgrade the version and try once
Actually my concern is, My code was developed in 19 version my Enterprise version is 18.1.4 so when i import all the foreach and for each row activities are not getting loaded since the Uipath core activities has been splitted as two Uipath system activity and Uiautomation activity
As you used latest version of Uipath studio to develop the process and trying to move old version of Uipath studio. And also it won’t support backward compatibility as we get many new features in latest versions and same you won’t find it in old version.
If possible update Uipath studio and then try once.