In my workflow I have created find children-> For each → Get attribute to store all the list of items
In find children I have selected a drop down and it stored the IEnumerable.
After that I have used “for each” in that list of items children Is given. Item is “current item”. Inside the body I have given Input Element as “children” , attribute as aaname and save to = any array of string variable is passed. ( It is initially created in data manager as array of type string initiated.
BC30311 value of type string cannot be converted to string() in UiPath
FindChildren
Output: children
For Each
TypeArgument: UiElement
Values: children
Get Attribute
Input Element: currentItem
Attribute: aaname
Output: attributeValue
Assign
To: attributeValues
Value: attributeValues.Add(attributeValue)
Assign Activity:
To: arrayOfAttributes
Value: attributeValues.ToArray()
I’m getting like BC30311 error value of string() cannot be converted to string Showing this error. I have created array of string and name of it is uiconfit which I have given in save to box.