The com.veeva.clm.launchApprovedEmail function expects an 18-character Salesforce Id for Approved Documents that is selected by default in the Send Email page.
The com.veeva.clm.launchApprovedEmail (email_template, email_fragments, callback) function can have email_template and email_fragments values entered as 18-character Salesforce Ids.
These values should be dynamically assigned using the com.veeva.clm.getApprovedDocument function. This pulls the value based on Vault Id and Document number to ensure the updated approved documents are selected.
Veeva CRM Documentation: CRM API Reference
Send us your feedback: We're always looking for advice to help improve our Knowledge Base! Please let us know if this article was helpful or provide feedback on how we can improve your experience here.