Datafield Value to Command Line Argument Interpretation

<< Click to Display Table of Contents >>

RayFlow > 7.4 u1 > User and Administration Guide > Configuration > Datafields 

Datafield Value to Command Line Argument Interpretation

This chapter describes how datafield values from RayFlow are passed into a command line as argument or as part of an argument. The RayFlow server interprets datafield values as is described below.

 

Single Datafield Usage

A single datafield value that does not contain any white space characters is directly passed as an argument. Those datafields that contain one or more white space characters are interpreted as argument and therefore automatically embraced with quotation mark characters. Therefore, it is not necessary to enter quotation marks into a datafield value. This is shown by the following examples.

 

Example 1:

Datafield1 = Value1; Argument1 = #Datafield1# = Value1

 

Example 2:

Datafield2 = Value 2; Argument2 = #Datafield2# = "Value 2"

 

It is possible to embrace the argument placeholders by quotation marks hard-coded inside the Tools configuration. If this is done, the quotation marks are always set.

 

Example 3:

Datafield1 = Value1; "Argument1" = "#Datafield1#" = "Value1"

 

Example 4:

Datafield2 = Value 2; "Argument2" = "#Datafield2#" = "Value 2"

 

finger1

Be aware:

If a datafield value is about to be used as an argument, entering quotation marks into the datafield might lead to an error because the quotation marks will be doubled!

 

Combining Multiple Datafields in an Argument

Different datafield values can be combined into one bundled argument. For example, this can be used if a path should be passed into a command line. If this is the case, the bundle of argument placeholders need to be embraced by quotation marks inside the related Tools configuration.

 

Example:

 

Datafield1 = C:\Windows

Datafield2 = notepad.exe

Datafield3 = Spaced name\notepad.exe

 

"Argument3" = "#Datafield1#\#Datafield2#" = "C:\Windows\notepad.exe"

"Argument4" = "#Datafield1#\#Datafield2#" = "C:\Windows\Spaced name\notepad.exe"

 

papercliper

Note:

When an argument which contains white spaces is used inside a multi-datafield expression which is embraced by quotation marks, RayFlow will realize this and no additional quotation marks will be used inside of the combined argument bundle.