Update Document
  • 24 Sep 2021
  • 2 Minutos para leer
  • Colaboradores
  • Oscuro
    Ligero

Update Document

  • 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 update Index Fields on already created Document with information collected from Variables and manually entered Values.

Instructions


Drag and drop the Update Document action from the list on the left into the diagram, under the correspondent “+” icon.

Update Document


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

fl05si280ld7Mrk52Nonx58fz6zV9Vy1fQ

Configure


To establish Document Search Condition and Mapping, click on Configure.

5PNJkiR4sRGWgYbJJ85VJ0SvlLuJKJIDDg

Document Search Conditions

To establish the Document Search Conditions, click on the first tab and the + New Condition.

761sGAqw6qmRJlI4So35t7SbpjFdOrMOmA

Select the first Data Source of your comparison line

tZxys8TjBDkiBMmSjMFkejHbJkouMpWikw

  • Document Fields: Fields from the Document
  • 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 correspondent Variable or Field.

EAOnw0bGLEqdhsx8ehc5lzWBT8L2H-P-zg

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

uwJlTFpgx1SUFR-dbE3CnTRhcfyCBYtCvA

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.

UaiRpQ0SZ1V80o14BWM0gOeN6v_SFps-yg

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

Select the correspondent Variable or type in the Value.

Q2nS0wISGGxhjuDrGYpIZdIIEb4BKHeaeg

  • 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.   3gn1CyoGacUC43kWu5KgXPIbqV5QE366xg

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 sets 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. szcNKiqLaQ4MR9JavoWg6AqO7KZgrArdQg

Map Workflow Variables to Document Fields

To set which sources will update each Index Field, go to the Map Workflow Variables to Document Fields tab and then click on + New Mapping.

yzDKF9MYel2hWEcwG0RjlBcUp3kGYiJrvw

Select the Data Source that will fulfill the Index Field.

Mdwx60qR0r2HsSAevWnMB16_2v7nnBP8yQ

  • WF Variable: Variables created inside the Workflow you are working on
  • Value: Compare it with a specific value
  • Data Set Variable: This option will only be available when the Action is inside a Loop

Select the Index Field you would like to assign that source to.

MYgXH-bURplMI7s6LSVMmEJ8IhW7YW-3cw

Then select the correspondent Variable or type in the Value.

H9pzj0MItkcMOomdJ2Q7MSZk3SNmW6W4jg

  • 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.K5FCT9OGi2fBaf3G-khAFCOLXLaMwhau4Q

After both tabs have been completed, click on Save to commit the changes and return to the workflow diagram.

YvkoXFTtW9Ocr9974YKP4hovFuD9eDc9XA



¿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