How to parse request details in Email


I want to add the request details in Email format and want to send it to the approvers.

Any idea how this can be achieved.

Pushkar Mahakal

Copy /ManageIQ/Infrastructure/VM/Provisioning/Email/MiqProvision_Pending method into your domain, and add this line somewhere between rows 93-100 (emailapprover method):

body += "<br><br>Requested memory: #{miq_request.get_option(:vm_memory)}"

If you want to modify the service approval email instead, you need to copy and modify /ManageIQ/Service/Provisioning/Email/ServiceTemplateProvisionRequest_Pending method.