cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime resources list

BenAnderson
Level 5
Hi all, 

I just had a quick question regarding run time resources. Is it possible to get a list of all of the resources that are currently in a production environment? By which I mean, is it possible to program a process to return a list of all of the resources? So, a process would run, query the environment, and return into a collection all of the resources associated with that environment. I was thinking of using AutomateC to try to achieve this but I am unsure if this is possible or not. 

Many thanks in advance for your help,
Kind regards, 

B

------------------------------
Benjamin Anderson
Data Analyst
EY
UK
------------------------------
Benjamin Anderson, Senior Consultant, UK
2 REPLIES 2

PhilipTrovato
Level 4
Dont think its possible with AutomateC. Certainly possible to write an BP Process or just use another app to query the BP DB. 

Check out the "BPAResource" Table. Then setup some filters like AttributeName!='Debug', AttributeName!='Retired', AttributeName!='Private' should get you most of the way there. You can also join it with the session table to return only assets which have ran a session, and return the last process name which ran.



------------------------------
Philip Trovato
------------------------------

Hi Philip, 

That's great. Many thanks for your help.

Kind regards, 

Ben

------------------------------
Benjamin Anderson
Data Analyst
EY
Europe/London
------------------------------
Benjamin Anderson, Senior Consultant, UK