Hi,
I want to find out (in an automation script) what dataminer agent an element is hosted on.
In the past one could easily verify the DmaId using ‘dummy.DmaId’ but nowadays this method is no more 100% conclusive. Since elements can be migrated across agents the dmaid part in the full Element id is no longer a guaranteed reference to the hosting dataminer but only represents the agent the element was initially created on.
So my question is how to retrieve the actual ‘host-id’ of a given element…
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Hi Hans,
You can find the Hosting Agent ID by using: var hostingId = dummy.ElementInfo.HostingAgentID;
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Hi Hans,
You can find this info in the ‘dummy.ElementInfo.HostingAgentID’ property.
hans sanders [DevOps Advocate] Posted new comment 19th December 2022
Thanks a lot !