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
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

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