Hi Dojo,
I have an install script that gets executed when deploying an application package from the Catalog. In that script I need to create an element and I would like to have it created on the Agent that executes the script. How can I get the Agent ID?
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 10th January 2024
Hi Jens,
You can retrieve it from the following property:
Engine.SLNetRaw.ServerDetails.AgentID
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 10th January 2024
Hi Jens,
What function/message are you using to create the element?
If you leave the DMAid field unchanged (-1) it will create it on the DMA that executes the script.
Dries Gheldof [SLC] Edited answer 10th January 2024