Articles on: Administration

Elements of the flow - Merge strings

The merge strings element is used to combine certain results from previous elements or simple text into a new string. This merged string can then in turn be reused as a value in subsequent elements.

1️⃣ Input field

In the input field, the actual joining of the strings takes place. For this purpose, variables can be defined by entering them as text and masking them with % characters before and after the variable name (%Variable%). In addition to variables, simple text can also be used here to combine them accordingly.

The icon to the right of the input field can be used to call up predefined templates. In the example shown, the URL for the final report was selected. In addition to the variables for the %Alarm-ID% and the %API-Token%, the string contains further fixed text to form the complete URL.

2️⃣ Variables

If a variable is defined accordingly, further input fields are activated below, in which the values of the variables can be defined. For this purpose, already defined values can be obtained via the input function (rectangular symbol on the left hand side of the input field).

In our example, we get the alarm ID from the trigger element "Alarm closed". This element starts the flow when an alarm has been closed and thus contains as a result, among other things, the ID of the corresponding alarm.

Furthermore, we get the API token of the organisation via the organisation variables. In the example, this is needed to authenticate the retrieval of the final report to the system. The organisation variables are defined by the affiliation of the flow to the organisation.

Basically, in addition to the organisation-related variables, all values that were generated in previous elements can be accessed here.

Which values an element generates can be seen in the editing view of the respective element at the end of the input mask under the item "Result".

Updated on: 08/09/2023

Was this article helpful?

Share your feedback


Thank you!