I am having some trouble understanding the dynamics of Anchor Base in this subworkflow SearchCriteriaWorkflow.xaml (30.9 KB) . The error I get is:
Blockquote RemoteException wrapping System.ArgumentException: Value does not fall within the expected range.
at UiPath.Core.Activities.AnchorBase.OnFaulted(NativeActivityFaultContext faultContext,
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext,
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor,
However the value in Type Into activity is of correct format and range (String). Also, when I do a workaround - I put Type Into Activity outisde of Anchor Base, I open it in UI explorer, where I first Indicate the Element and then Indicate the Anchor (“contains”), it works fine. So only Anchor Base activity: Find Element/Find Image (this piece works) | Type Into (this piece throws the above error).
No, they were the result activity, the anchor were Find Element or Find Image. You can see how the workflow worked exactly in the xaml from the first message in this thread. The Anchor Base activities are the ones commented out (7th and 9th step in “Do” container") I replaced them with the activities based on UIExplorer “Indicate Anchor” option, which are respectively one step before (6th & 8th).
However I would like to know why I do need to find workarounds, since I would prefer Anchor Base to work properly.
I opened the workflow and indeed the informative screenshots are missing due to opening externally (you will not be able to run the process because it interacts with UI elements of an internal app), but the title of activities are pretty self-explanatory.
However, I was hoping someone could spot a mistake just by looking at the general logic of the workflow.