Links overview
When the sequence of function elements are run, data is transformed and transferred from the input document to the output document. The source and target of this data transfer is defined by connecting document elements and function elements with Data Links. In addition to Data Links, you can also use Control Link to control the iteration of a loop function.
This table shows the element connection details when you add links:
Element | Connection details |
---|---|
Document elements |
You can connect elements with multiple multiplicities (repeating elements) to (input) or from (output) a Loop. This means that the element multiplicity is used to control the iteration of the loop (input element) or the population of an output document (output element). You can connect elements with single multiplicity to (input element) or from (output element) input/output parameters. |
Boolean function | Must be connected to a loop. |
Variables | You can connect variables to input parameters, to output parameters, to input document elements or attributes, or to output document elements or attributes. |
Constants | You can connect constants to input parameters or to output document elements or attributes. |
Adding links between function elements
You can create Data Links and Control Links between function elements.
Follow these rules:
-
Data Links between UVJ and Repository functions output parameters to input parameters of UBJ, UVJ, and Repository functions
-
Control Link between a function (M3 API or Database) and a loop
This means that the occurrence of retrieved records controls the number of times that the loop iterates.
-
Control Link between a UBJ function and a loop
This means that the Boolean result controls if the loop should iterate or not.
Assigning variables or constants to function elements
You can assign variables or constants to function elements.
Follow these rules:
-
Drag variables to input/output parameters of UVJ, UBJ, and Repository functions.
-
Drag constants to input parameters of UVJ, UBJ, and Repository functions.