Skip to main content
The result of script export is the creation of a new transaction in a particular Orchestrator queue. All processing results are stored in the transaction as strings in Specific Data Items:
  • DocumentDefinition name;
  • BatchRegistrationParameters (Names and values);
  • Fields (Names and values);
  • Files (File names and file content as a base64 string).
Next, these strings need to be extracted and converted into a suitable data type. Transaction Processing with the extraction of data from it must be carried out in the UiPath process. An example of this process is included in the distribution package: ABBYY FlexiCapture 12 Receiver in the Samples folder. Before launching the process, connect your Robot to Orchestrator, to which script exporting from FC has been set up.
  1. The process should receive the transaction from the queue (store it in a variable of type QueueItem). The sample process will handle the first transaction having “New” status in the queue. Launching the process once will process one transaction.
  2. The process has been configured to display a window where you can select a folder into which to save transaction data.
  3. When a transaction is received, it is necessary to extract its rows and deserialize them into a JSON object using the Deserialize json Activity. The JSON objects received for each of the Specific Content Items must be stored in the variables of the following variable types:
    • DocumentDefinition - String;
    • BatchRegistrationParameters, Fields, Files - IEnumerable<KeyValuePair<string, string>>.
Then you can process the received data in any necessary way. The sample process saves them to disk.
Before launching the process, specify the name of the queue from which to take a transaction. Click the Get Transaction activity and on the Variables tab find the queueName variable. In the Default field of this variable, specify the name of the queue from which to take a transaction.
You can launch the process from UiPath Studio, or you can publish the process to Orchestrator and use a Robot to launch it.