Add queue item faulted in assignment 2 of uipath advanced training

below is the screen shot of the debugger window
image

below is the exception activity info
“Name”: “Add Queue Item”,
“Id”: “1.18”,
“InstanceId”: “23”,
“TypeName”: “UiPath.Core.Activities.AddQueueItem”
below is the actual exception details

An ExceptionDetail,
likely created by IncludeExceptionDetailInFaults=true,
whose value is:
System.Exception: The operation has timed out. ----> System.AggregateException: One or more errors occurred. ----> System.TimeoutException: The operation has timed out.

— End of inner ExceptionDetail stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
at UiPath.Core.Activities.BaseQueueActivity.EndExecute(NativeActivityContext context,
IAsyncResult result)
— End of inner ExceptionDetail stack trace —
at UiPath.Core.Activities.BaseQueueActivity.EndExecute(NativeActivityContext context,
IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context,
Bookmark bookmark,
Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context,
Bookmark bookmark,
Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)


below is the screen shot of the log window during debugging :
image

can any one help on this ?

Hi @karges,

Can you share the screenshot of properties of Add queue item.

Are you providing the queue name and is your studio connected to orchestrator and what is the information you are sending from studio to orchestrator in the item information property of Add queue item.

share your Add queue item activity properties.
if you are using any reference property in addqueueitem then please check once.

all , sure in a moment i will do . the queue name is in input excel sheet. same queue name is in orchestrator also

Your properties for add queue item, should be like below screenshot

image

1 Like

Hi @karges

While adding values to Queue only bot is failing. While adding to Queue make sure you provided right information in ItemInformation there you have to specify the collection of items to add to Queue.

Regards,
Vijay Kumar C.

ss1 : add queue item properties in side process.xaml
image

below screen shot outsputs the queue ame before the add queue item gets invoked
and the message box value is the excat same thing i mentioned in side add queue items
image

below screenshot is the queue i manually created before the execution inside orchestrator
image

weird behavior :
i included the message box justfor proof. but then i fund the message box keep on coming !! even after clicking ok !!

Process.xaml (12.0 KB)

above is the attached process.xaml. for some reason am not able to attah my whole project as zip. uipath website is preventing me from doing. any help will be greatly appreaciated. as you all know we have just 3 days for this to complete !!

In this part of your process try to change the QueueName by “QueueName”

And check in your Config file that the value of your QueueName is QueueName

Finally in your Orchestrtor to create a Queue called QueueName

Let me know if your problem is solved or not

Hi MigT
I have posted screenshots above , in my config file also its the name (QueueName) and am picking that in a dictionary and print in message box just before the “add queue item” activity". also i have posted SS which shows the same “QueueName” inside orchestrator also. the problem is same.

Ok so if I well understood the value of you QueueName in your Config file is InHouse_Process4, so you should to:

  • called your Queue in Orchestrator InHouse_Process4
  • and add “InHouse_Process4” in the Add Queue Item

there is a screenshot says the input to the add queue item activity is “inhouse4” :frowning:

when i hard coded the queue name this error did not come ! there was some space issue something ! now its not there.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.