Is it possible to include the <primary> and <backup> elements as input parameters in the execution section of the switching logic?
Can you simply use these <primary> and <backup> elements as parameters?
For clarity, here’s a hypothetical example (no actual data or script included yet):
Justien Decuypere [SLC] [DevOps Advocate] Selected answer as best 30th October 2024
Hi Justien,
This is possible. Scripts triggered by redundancy groups have some extra script parameters which contains this info (no extra configuration needed). The specific ones you need can be reached by doing GetScriptParam(<ID>) in the automation script. iId 65010 for <primary> and 65011 for the <backup>
See DataMiner docs for more info on this and other included script parameters.
Justien Decuypere [SLC] [DevOps Advocate] Selected answer as best 30th October 2024

Thank you Brent! That’s exactly what we need. 🙂