Skip to main content
Script export creates a new transaction in a particular Orchestrator queue. All of the processing results are stored in that transaction as strings in Specific Data Items, so they have to be extracted and converted into a suitable data type.

What the transaction holds

Receive the transaction data

Extract the data in a UiPath process. The distribution package includes an example of such a process, ABBYY FlexiCapture 12 Receiver, in the Samples folder.
1

Connect the Robot to Orchestrator

Connect your Robot to Orchestrator, the one that script exporting from ABBYY FlexiCapture is set up for.
2

Specify the queue to read from

  1. Click the Get Transaction activity.
  2. On the Variables tab, find the queueName variable.
  3. In the Default field of this variable, specify the name of the queue to take a transaction from.
3

Receive the transaction from the queue

The process receives the transaction and stores it in a variable of type QueueItem.The sample process handles the first transaction that has the New status in the queue, so launching the process once processes one transaction.
4

Select a folder for the data

The sample process displays a window where you select the folder to save the transaction data into.
5

Deserialize the transaction rows

Extract the rows of the received transaction and deserialize them into a JSON object using the Deserialize json activity. Store the JSON objects received for each of the Specific Content Items in variables of the following types:
  • DocumentDefinitionString
  • BatchRegistrationParameters, Fields, and FilesIEnumerable<KeyValuePair<string, string>>
You can then process the received data in any way you need. The sample process saves it to disk.
Screenshot of the ABBYY FlexiCapture 12 Receiver sample process open in UiPath Studio, showing the Get Transaction and Message box activities and the queueName variable set in the Default field on the Variables tab.
Launch the process from UiPath Studio, or publish the process to Orchestrator and use a Robot to launch it.