ServiceNow approval request and Vm creation

Is there any way/documentation to create a new ServiceNow approval request during virtual machine provisioning and the vm should only created once the service now ticket is approved
Note:
SNOW ticket can be created while virtual machine provisioning, amend the ActiveCMDB state to call the create method as per the documentation,but the vm get provisioned and does not wait for approval from snow

Solved
This was solved by changing the architecture of the approach. so now the on vm is created and a alert is triggered and from that a even is called to create snow ticket using automate