Custom Service Code

Custom Service Code is user-written code that can be added to a service to be executed after data has been extracted.

To add Custom Service Code to a service:

  1. Click on a service box to open the Manage Service view.

  2. On the Manage Service view, click on Add Utility.

  3. Scroll down to the Utilities section, and select Custom Code. 4.

<figure><img src="../../.gitbook/assets/image (9).png" alt=""><figcaption></figcaption></figure>
  1. The Custom Code service box will appear within the parent service box.

  2. To start writing Custom Code, click on the Scripting button.

  3. The code editor view will appear. The code can be written in the Code tab.

  4. The code language can be selected from the dropdown box.

  5. The imports required to write the code, can be added from the Imports tab.

  6. To compile the code, click on Save.

  7. Compilation Results are shown at the bottom of the Code Editor.

  8. The code will execute after the batch of documents have been processed