VMware Cloud Community
Sany_1973
Enthusiast
Enthusiast

Tying to get the Resource Action Request

I am using this code for that.

Get day-2 or resource action requests of a vRA catalog resource - Samples - VMware {code}

Line 16:

var allActionRequests = vCACCAFEEntitiesFinder.getResourceActionRequests(cafeHost);

is there any way to filter this .

Tried the below code, but still getting all requests

var allActionRequests = vCACCAFEEntitiesFinder.getResourceActionRequests(cafeHost, requestid);

0 Kudos
1 Reply
xian_
Expert
Expert

Have you tried vCACCAFEEntitiesFinder.findResourceActionRequests(vCACCAFEHost,String) or vCACCAFEEntitiesFinder.getResourceActionRequest(vCACCAFEHost,String) ?

The first one is a search function, the second is for getting a request with a specific ID.

0 Kudos