Internal documentation only
This page has been marked as draft.
Target a rowname on Rules and Variables
When delving into the intricacies of row names within the context of data manipulation and variable assignment, it’s essential to highlight a convenient feature within Geneos: the inherent existence of row names. Unlike certain scenarios in programming where developers need to define path aliases or utilize path variables to access specific data elements, in Geneos, row names come pre-established, simplifying the process.
To harness this functionality effectively, all one needs to do is to employ the “rowName” target when setting a variable. This straightforward approach obviates the necessity for additional configuration steps, streamlining the workflow considerably.
Let’s illustrate this concept through an example:
Rules:
set $(MESSAGE) target "rowName"
userdata "MESSAGE" $(MESSAGE)
Actions:
(_FORMAT)
Hi Team,
%(MESSAGE)
In this scenario, by employing the “rowName” target in the rules section, the variable $(MESSAGE) seamlessly captures the row name data without the need for path aliases or convoluted path variable definitions. This succinct approach enhances code readability and expedites development processes, allowing users to focus on the core logic rather than grappling with unnecessary complexities.