Hi,
so I always saw this getTouchpoints Function and never had a usage for it. I just tried to use it, and after some try and error, what I found out is
you need the touchpoint list before using it, so it's useful if you have touchpoints by group
In my cenario
it found something only when I used my Orchestrator's name
so if you only have the name, you don't really need this method (only if you use aggregate touchpoints by groups).
What you'll use: isTouchpointUp Function
Do a foreach your touchpoint array, using this function, and you'll get what you need
Alternatively Please see:
Where can we get a full list of Agents? - CA Knowledge
How can we get a full list of all Agents that have been installed?
Answer:
You can get a full list of Agents from the dbo.ConfigObjects table in the Repository database:
select * from PAM_Repository.dbo.ConfigObject where DiscriminatorType='Agent'
This will return all Agents, the machine each is installed on and their internal UUID reference value.The ConfigObjects table also holds all installed or configured objects within the Orchestrator, such as the Domain, Default Environments, Orchestrators, and Touchpoints.