VMware Cloud Community
stratoCumulus
Enthusiast
Enthusiast
Jump to solution

vRA 8.6.1 - Trigger Approvals Programmatically

Hi, is there any way to programmatically trigger an approval as approved or denied in vRA 8.x? I'm currently on 8.6.1. 

According to the documentation, in v8.x approvals no longer support the following:

  • Post Levels
  • Multi Levels
  • Nested Criteria
  • AP integration with Event Subscriptions
  • Approver determination based on Requests
  • Approver Groups
  • Approvals by Email

This is a pretty significant change. Does anyone know if some or all of these will be eventually supported? 

I'm thinking of trying to get around this by adding approval logic in Orchestrator workflows that are tied to subscriptions such as resource actions and deployments but it doesn't seem to have an API. Any way I could set an approval as "approved" from vRO via another method such vRO plugin?

 

Thanks

 

Labels (6)
Reply
0 Kudos
1 Solution

Accepted Solutions
xian_
Expert
Expert
Jump to solution

It does have an API: 

/approval/api/approvals

You can approve an approval request programmatically. You may find this blog post useful, the usecase is similar:
https://kuklis.github.io/cma/post/vra8-servicenow-approval/ 

View solution in original post

2 Replies
xian_
Expert
Expert
Jump to solution

It does have an API: 

/approval/api/approvals

You can approve an approval request programmatically. You may find this blog post useful, the usecase is similar:
https://kuklis.github.io/cma/post/vra8-servicenow-approval/ 

stratoCumulus
Enthusiast
Enthusiast
Jump to solution

I definitely missed that API somehow. Thanks pointing me in the right direction. And thank you for that example as well,  it has good info to get me started. 

Reply
0 Kudos