I have the following Event config to create a custom Alarm Title:
0xfff00000 E 20 P \
"CreateEventWithVariables( { C CURRENT_MODEL }, { H 0xfff00001 }, \
SetEventVariable( GetEventVariableList(), { U 76620 }, \
Append ( { S \"CPI: \" }, \
GetRegexp( \
GetEventVariable( { U 112 } ), \
{ S \"eventType=(.*?)\\\\(\" }, \
{ U 1 } ) ) ) )"
How would I add another 'SetEventVariable' into this one if I wanted to set another variable in the same event?
E.g. If I wanted to add a custom Event Variable 120 for example?
SetEventVariable( GetEventVariableList(), { U 120 }, \
GetRegexp( \
GetEventVariable( { U 109 } ), \
{ S \"^(.*?):.*$\" }, \
{ U 1 } ) )
I imagine someone must have experienced this before as I imagine you would want to sometimes manipulate more than 2 variables.
Many Thanks,
Frank