Can we extract fields from document to one target field using Document intelligence ?

Kien Luc Tuan
Tera Contributor

Hi everyone, I'm new on the journey to discover power of Automation Engine and I'm trying to practice the Document Intelligence Tool.

Following the document intelligence solution and documentation,  after configuring use case - keys, ..etc.. based on guidelines about Document intelligence setup that I wonder if can be applied or not:

My question is:
Could we have many Keys with the same Target field in use case?

KienLucTuan_0-1686196040614.png

 


For example
Various data along with keys extracted from the document then they are populated to the custom field "Payload" in the table using an object format like below:

payload: {
      key 1: data1,
      key 2: data2,
      key_group:   {
                    key3:   data3,
                    ......
     },
     .......
}

If this work, I can continue my process, retrieve extracted data using flow designer via "Integration setup" in the related list of Use case

Please let me know your idea.

2 ACCEPTED SOLUTIONS

Loic1
ServiceNow Employee
ServiceNow Employee

Hi @Kien Luc Tuan,

 

Can you share more details about what you are trying to achieve?

 

To answer your question, if you have more than one Key with the same Target Field, and you use the OOB Flow, the value in that field will be overwritten and only one Key value will show in that Target Field.

 

But it seems like you are trying to do something a bit more custom, in which case I'd recommend that you fetch the values directly from the di_extracted_value table. The "Retrieve Extracted Values" Action in the OOB Flow is doing something similar.

 

I hope this answered your question, please share additional details if you need.

View solution in original post

Loic1
ServiceNow Employee
ServiceNow Employee

Document Intelligence only works with one attachment on the Source record.

Once the attachment is processed by DocIntel you can create a custom Flow to format the data as per your needs.

View solution in original post

6 REPLIES 6

Loic1
ServiceNow Employee
ServiceNow Employee

Document Intelligence only works with one attachment on the Source record.

Once the attachment is processed by DocIntel you can create a custom Flow to format the data as per your needs.

Okay, I see.
Thank for your help !
I really appreciate that.