Genpact Cora Knowledge Center

Support

Side Car Configuration

Overview

In the workspaces that work with AP flow adapter, the file listener takes two files, a PDF and an XML file. The PDF is the document that contains the data, and the XML file contains the meta data of the document. The sidecar.yaml configuration file defines the attributes of the meta data i.e. the name and type of the fields that will be taken from the XML file.

The data fetched by the sidecar.yaml is used in the next steps.

Template

kind: document 
metadata: 
  name: extraction/v1/documents/side-car 
spec: 
  fields: 
    - name: Culture 
      type: string 

    - name: Case_Id
      type: string 

    - name: Input_Source 
      type: string 

    - name: Creation_Date 
      type: string 
Parameter Description
Name Name of the field in the XML.
Type Data type of the field value.

For example, Case ID can be one of the fields in the document with field name Case_ID and type String.