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

Form 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 Forms. 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 Form Data Lookup action from the list on the left into the diagram, under the correspondent “+” icon.

AB557iPo9EfI6DaenOygxxrE6vsDQpeGNA

Form Data Lookup


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

U40UEdOqDVg-Kdo-nJF2NU-zatUB6btcuQ

Setup Query


In order to establish which Form Field will fulfill each Variable, click on Setup Query.

3ZA0ksPG582KNzBs_KWEc7fqCseGAX1drw

Step 1

Select the Form you would like to use as source for fulfilling your variables.

T6d4gDRl7GPnAkecB-dQWFpNHVQds0z-fw

Click on + Add Filter to start building the queries to be applied on that form.

7I0pk3JCItRzocuKg5vWZca91bEB1ql5Rg

The Data Source will default to the form previously selected.  Select the Form Field to be used on the comparison.

G-7SKVYnvsJpJJ3yFZ7QQnMF_tlRTNYxWA

Choose the type of comparison to be applied.

pprNs95rXTb2KjOY50SxPIMRqvcBpTtSNQ

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
  • not contains
  • begins with
  • ends with

Select the second source for comparison.

qY9UejX15xka77KTq4b-zYORRATXDZXTag

  • Value: Compare it with a specific value
  • WF Variable: Variables created inside the Workflow you are working on
  • You can add more comparison lines by clicking on the + Add Filter and remove them by selecting it on the left side of the item and clicking on Remove Filter.   deNZAKCi8WDmSWRNrfW--uqWqDrea_zSAA
  • If you need to change the primarily source of the comparison, select a different Form on the top and all linked comparisons will disappear from the screen.

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 the 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. UAUE2A8wH9xIhL3Wid1aieiEGbGC_UvkcQ

After all comparisons are set, click on Next.   

2mlGHR7GydJihri9gdlDnXnG0Ks_tghx3A

Step 2

On Step 2 you will set the mapping between Form Fields and WF Variables.  You can select a Data Set Variable previously created on the Workflow.

ITqX90pFeKet7eKmz3uezJ12ZYE4bUZKkg

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

i7MB-ckD2GZCSLSQgUatoIZLfjIhDCKhaw

Add a name to your Data Set and click on Next.

T4xH8dMv1KjenmU9WaWWP3j_WhkjIiu41g

Select the Form Fields to be mapped and click on Next.

2TDS1kFic-sgdjh3eTEdDsGDcWfh0cDj7w

Variables will be automatically created based on the Form 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.

m2PsGkmiGJGkPJ9Esppqv0Eh4NVNEqLxaQ

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.

9MgZe4vQXE5fxzDUx45Vi3SOpmVdxt2PZQ

  • 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 Next.

Be-HOhjg3QuGWPgFdntUavAvZHh0JaLIAw

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

ErbN0K7HH1YtjzaSM03A6KCNxKTnHnICGA

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

iABrQRote3Usqu2ItO6-iVngKsaWWxGDdw

Select the Form Field.

5prVcCM5ZL0pbdLvU69gYHIRwUzu6pjRBg

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

XQU-lJ_hLc6z6HPBXtiwjD3WEusgLAjUig

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

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

vNU6Z7UTFSKJw-RIWm8YCSyhpj6KhFd-WQ


¿Te ha sido útil este artículo?

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