I’m trying to pass a datatable into an Orchestrator queue. I’ve seen several posts that talk about using newtonsoft.json package to serialize but I can’t find that in the packages list. Can someone advise on where to find the package, a different package that would work or how else I can pass a datatable to a queue?
@Will_Tyler
stringVariable
= Newtonsoft.Json.JsonConvert.SerializeObject(
Datatable
)
you can pass this string to the AddQueueItem as a string.
Import Newtonsoft.json namespace

Will_Tyler:
I’ve seen several posts that talk about using newtonsoft.json package to serialize but I can’t find that in the packages list.
As I stated in my question, I’ve seen several posts that talk about using newtonsoft.json package to serialize but I can’t find that in the packages list to import. When I try to use the serialize command I get
Source: Add Queue Item
Message: Could not determine JSON object type for type System.Data.DataTable.
Exception Type: System.ArgumentException
Log In using your UiPath Account to:
• get help with your automation projects
• share feedback, report bugs or just drop us any question
• become an MVP and get access to
exclusive events
• save your user preferences like themes and more
• automatically sign in to other services
• get in touch with our Forum staff