VMware Cloud Community
jlui
Contributor
Contributor

Need to execute one final action after the post-approval phase

Does anyone know of a way to execute one final action after the post-approval phase?

I would like to execute a powershell script, only if an approving manager approves the machine deployment.

I have looked into all the subscriptions, and tried to leverage vRealize Orchestrator, but all the workflows complete prior to the post-approval phase.

Alternatively, is there a way to send a completion email to another party? Currently, when the machine is deployed, approved, and available to the user in vRealize Automation, the requester gets a completion email to let them know. Is there a way to send the final email to a second mailbox, and with a customized subject? This would allow me execute the powershell script through a third party application, which can be triggered by an email.

Reply
0 Kudos
2 Replies
parmarr
VMware Employee
VMware Employee

Use Guest Script manager to execute any actions using Powershell script after post-approval phase.

Refer to the post: https://communities.vmware.com/docs/DOC-25474 for more details.

Sincerely, Rahul Parmar VMware Support Moderator
Reply
0 Kudos
OversizedSpoon
Enthusiast
Enthusiast

Either remote script in guest or configuration of a PowerShell host, should help.

Reply
0 Kudos