I am working on a callback method to an external (service now) which is initiating service actions via api. On provisioning I access the following:
service = $evm.root.attributes[“service_template_provision_task”]
$evm.log(“info”, “+++3CBdestination_id: #{service.destination_id}”) <<< new service instance id
$evm.log(“info”, “+++3CBmiq_request_id: #{service.miq_request_id}”) <<< service request id
When retiring a service I need to supply the service request id to the callback. I’m not sure how to retrieve that from the database? Any directory would be appreciated. Thanks!