Update: I fixed one thing in my workflow, and now I’m getting a different error. Might just make a new post for this too.
Original post:
Hi all,
I’m hoping I can get some help on my workflow. I’m a student, so I am pretty new to the software.
I have everything set up and running exactly as I want it to, except the “for-each” loop. After looping, I get the following error message:
I tried looking around on forums, but could not find anything definitive. I have two of these for-each loops in this workflow, and they are a crucial element of it. Once I get this fixed I should be good to go!
I’ve attached my workflow below. I hope someone can help! I really need to get this part of my final project done ASAP (I still have to clean and combine all my datasets, as well as produce a final visualization all by the end of the week). Thanks to anyone who can help!
So, the element that is invalid appears to be the “item” from the list I created before starting the loop. I don’t think it’s the selector itself? I’ve attached a screenshot from that portion of my workflow if that helps.
I’m not sure how I would make the selection stable? Again, super new to this so any detailed explanations would help a lot!
I understand that you are trying to get aaname of the item inside the loop !
Try checking it manually first and see if aaname attribute is available for the item.
Debug the code and Get the item value in which you get the error from the immediate panel and valid it in uiexplorer to see if has the aaname attribute and if its validating.
Thanks everyone. I ended up finding a solution by re-working how I made my way through the loop.
I had originally followed Anders Jensen’s video on how to use the for-each and get children to loop through drop-downs. What I ended up doing was taking that as a starting point to get the data tables, and then I used “for each row in data table” to make my way through the dropdowns instead. This did add a lot of extra steps such as clearing the data table at the end of each loop, and I had to take care to make sure everything was in the right place.