Bulk Upload Option to load the Queue

How to use Datatable (or any other object) in Queue (Orchestrator):

Add to queue:

  1. In Studio, import Newtonsoft.Json namespace
  2. Serialize datatable using the following command (output string): JSONConvert.SerializeObject(dt)
  3. Send the string to queue

Consume queue:

  1. Get the string from queue
  2. Use Deserialize json activity (from Uipath.Web.Activities package) using TypeArgument DataTable property
  3. Use the outputed datatable for your workflow.
7 Likes