System.ArgumentException: Value does not fall within the expected range

uiautomation
studio

#1

Hi Experts

I am facing an Issue while executing a Workflow which open Oracle Applications Page and then Self service window. After navigate to that page it has to click for the next notification. It is working for few notifications and then it exiting the flow with the below exception. One strange thing is , it is working fine in my Colleague machine . We are using same UI path Studio version. 2018.2.2. Kindly help me in this regard.

Below is the Full exception details

Exception Type: AggregateException

System.AggregateException: One or more errors occurred. —> System.ArgumentException: Value does not fall within the expected range.
at UiPath.UiBrowserClass.get_node()
at UiPath.Core.Browser.get_Element()
at UiPath.Core.Activities.Target.<>c__DisplayClass33_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
—> (Inner Exception #0) System.ArgumentException: Value does not fall within the expected range.
at UiPath.UiBrowserClass.get_node()
at UiPath.Core.Browser.get_Element()
at UiPath.Core.Activities.Target.<>c__DisplayClass33_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<—


#2

Can any one please help


#3

Hi @surya567

Based on the error message I’m thinking that maybe there are no more notifications to handle.

Was it working with another Studio version? Is your colleague’s machine the same as yours (and Studio version)? Can you think of some main differences that could cause the process to fail on your machine?

Thanks,
Viorela


#4

Hi Ovi

there are no more notifications to handle. . No Ovi, we have still 12 more notifications to handle
also to the second point, we are having same company and same configuration machines and we using same UI Path Studio version 2018.2.2.


#5

Did it work with 18.1 version?


#6

Please check the all argument values when ever you are invoking workflows some where it will be empty or value is not passing


#7

Are both you and your colleague (on which machine the workflow is working fine) using the same browser and browser version?
Also can you specify what is the activity that fails?


#8

It did not work in 2018.1. So i installed 2018.2.2


#9

Hi
Yes we are using same Browser IE 11.


#10

Hi Rajsekhar

Can you kindly explain me in detail. My deadlines are reaching and I am Stuck with this issue from past 2 weeks.


#11

i mean check the argument while invoking workflow file there should not be empty values which ever is require.

so find out missing argument using write line where the sequence have error


#12

Hi RajSekhar, I am not using any input Arguments
.


#13

ok… can you attach the your workflow