Your selector for getting getTextAttempt seems not very good as "<webctrl idx='1' tag='P' />"
You should avoid using the idx attribute because it is not reliable, maybe it is getting empty string?
I can’t argue with the bad selector! I assume the acme page was done that way on purpose, to force the dev to use something to get the data. (https://acme-test.uipath.com/)
It does work. I pass data into it because my GetClientInformation does get the ID (which I pass into clientInfo) and it goes to the correct detail page. When GetClientInformation returns, though, I don’t see any of the returned data, e.g. ClientID, ClientName, ClientCountry.
I have verified that the inputs have to be clientID, clientName, and clientCountry or it fails to compile. I used newly created variables ClientName, ClientCountry and then tried ClientID and res_ClientID but none of those variables end up with the results from GetClientInformation.
I step into GetClientInformation and see that the variables are set. It just doesn’t come back. Not sure what I have missed or what I’m doing wrong that I can’t pass the values out of GetClientInformation.
Okay, I’m renaming my variables in Process to res to differentiate them and will try that. I only had arguments in the GetClientInformation, no local variables, so that should be good.
sorry that was wrong answer, if the resXXX are variables you have in your main workflow to get populated FROM the out arguments, then you are ok, something must be wrong inside the GetClient… flow still
Okay. I have no local variables in GetClientInformation. I only assign the arguments but nothing comes out from the results, even though I can step into it and see them set.
My mistake. When I switched to GetClientInformation, Arguments show at all times, but Variables only show when you have an item selected. This is due to how UIPath scopes the variables. So, I kept thinking I didn’t have local variables when I did. I had to pick an item in GetClientInformation before I saw them. I had to remove the local variables, so that the arguments were set. Once I did that, it worked fine.
Thanks bcorrea! You rock!! And thanks for your patience!