Document Data Lookup
  • 24 Sep 2021
  • 3 Minutos para leer
  • Colaboradores
  • Oscuro
    Ligero

Document Data Lookup

  • Oscuro
    Ligero

The content is currently unavailable in Spanish. You are viewing the default English version.
Resumen del artículo

Definition


This action will be used to fulfill Data Set Variables with information collected from Documents. These Variables will be used later as a source of data for other actions, such as Loop and some actions added within it.

Instructions


Drag and drop the Document Data Lookup action from the list on the left into the diagram, under the corresponding “+” icon.

1Hp3NX2mtb_fXyktcdiUnpfTYqSPEv6ovw

Document Data Lookup


Customize the name and description of the action on the Step Properties panel to the right.

FSoF3D-2UMtdjYUBj-gm8eioemLAghEP7A

Configure


In order to establish which Field will fulfill each Variable, click on Configure.

BxDJoXSqZgbOXJdk47ow24QV305qHXqk-Q

Document Search Condition

Click on + New Condition to set the conditions for your document search. 

kMZNTonIwTtNUEfviksg0nsnVgi4QW_T5g

Select the first Data Source of your comparison line.

GZ8Jh9RD37Zwt81a-LfnaD1S4eDDC9N06A

  • Document Fields: Fields from the Document you will select
  • Index Fields: Document’s metadata fields that can be set up on the Core
  • Data Set Variable: This option will only be available if the Action is inside a Loop

Select the corresponding Document, Index Field or Variable.

UjpW6pP27UO0HxFq4tL9oyC6pFC4yB4iag

Select the type of comparison you want to apply between sources.

2OnNDTLaWfnsfF63yFkbt-wMobnCj3MGvg

The comparison options available on the drop-down list will be subjected to the type of data contained on the first field.

  • = : Equal
  • <> : Not Equal
  • > : Greater Than
  • < : Less Than
  • >= : Greater Than or Equal
  • <= : Less Than or Equal
  • Range
  • contains
  • notcontains
  • begins with
  • ends with

Select the second source for comparison.

BC0cOorqNJGmLRvJJrde3ijhxrp2p0i0lA

  • WF Variable: Variables created inside the Workflow you are working on
  • Value: Compare it with a specific value

Select the corresponding WF Variable or type in the Value.

jyvh_BoV39mhSzdE8YAxJ6PxL2NgcC2yNg

  • If you select incompatible fields for comparison, you will receive an error message on the top of the screen and won´t be able to continue.  Make sure you select fields that contain the same kind of data.    b6ivmHStA16F4Be87sPhz8Njb0QagmzEHQ
  • You can add more comparison lines by clicking on the + New Condition and remove them by selecting it on the left side of the item and clicking on Remove Condition.  Lro_QVrzpIqX0gexlNTNVC8RGczMkTjgHQ

Operators

When more than one line of comparison is added, they can be separated with operators in order to indicate the server exactly what needs to be searched and compared, as well as in which order.

  • And: all comparisons, or set of comparisons, followed by AND need to be TRUE in order for the query to be TRUE 
  • Or: if at least one of the comparisons, or set of comparisons, followed by OR is TRUE, the query will be TRUE
  • Parenthesis: are available in case you need to set priority between the different lines or set of lines. Once you open parenthesis at the beginning of a line, it needs to be closed at the end of the same line or at the end of the group of lines you would like to prioritize. 4uJTGtI3HGpArwKVvNcWXSTz9v0Hiy9sOA

Map Document Fields to Workflow Variables 

In order to establish the mapping, go to the Map Document Fields to Workflow Variables tab and select the Data Set Variable that will be fulfilled with this action.

MswVuDsRaZ7zCWCiBSOLZgUloBnsOnpExw

You can also create new Data Set from scratch by clicking on the “+” icon.

q7ZJvdI47wAi5TqYQkaUOZpE_hnvFymwGQ

Add a name to your Data Set and click Next.

k3Eh-FzslBihAXuJ0TLoTMF3ANbcJzKUFQ

Select the Document Fields to be mapped and click Next.

s2PNDNlVNYUYB_sL1Yu6vwcpVwQ_iKt08w

Variables will be automatically created based on the Fields you selected, using their Name and Data Type in order to facilitate the work and avoid having to build each variable manually. 

You can still edit or delete each one by clicking on the ellipsis button on the right.

SrdF-_bF0CcUe_k23peVCoggjVdqCy-O7w

You can also add new Variables by clicking on + Add Variable.

eKqSNh-liBlI7xrzBnBbWiYdt__OUCo6OQ

When adding a new variable or editing one, you will be able to add the Name, Data Type and Value.  After all details are set, click on Save.

Yr_L4Nq1PKNt34E-uORGHZUWfkJsIXA2Vg

  • The Values can be added as default on the variables, however, the intention of this action is to fulfill them, therefore if there is a pre-established value and the variable is mapped, it will be overwritten.

After all variables are created and customized, click on Save.

DbDcx3qSro5HdQe3d3NToWI5rRxuLoaiUg

The Data Set created here, will now be available on the drop-down menu.  Select the one you would like to use.

buPbSxRnpaGkgH7kM3OUeknfXun1jxXukw

Then click on + Add Mapping to start connecting Document Fields to Variables.

P4wYvoyU0QifcJs1KrZuOS6IWHFlq24VdQ

Select the Document or Index Field to be mapped.

Select the Variable that will be fulfilled with the information stored on that Field.

DGK5TpjvRUDwUe_BWBkbBCY0L1L9Eh-Flg

  • Each relation will be added on a new line by clicking on + New Mapping.
  • Lines can be deleted by selecting the item on the left and then clicking on Remove Mapping.    kvPuVdOLW07KnEZclZyChLL1NqfzIHTUiA

After the mapping is complete, click on Save to commit the changes and return to the workflow diagram.

aLbSSd5zf2egKlgjWtCoYHXzvPDt5ksL6w


¿Te ha sido útil este artículo?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, que facilita el descubrimiento de conocimiento a través de la inteligencia conversacional