Wednesday, 14 March 2018

Approve Workflow via email using template placeholders #Dyn365FO

Dynamics 365 for Finance and Operations has placeholders which can be inserted into the instructions. Normally you would want this to show up in the email that is sent. One of the most useful ones is the URL link to the exact record that you are approving.

In the workflow configurations use the placeholder and build up your message. Towards the end it has workflow specific ones. The URL token is %Workflow.Link to web%.

image

For the technical people the token is replaced in this class WorkflowDocumentField.

image

This is what I inserted into my email template.

<BODY>
subject: %subject%
<BR>
message: %message%
<BR>
company: %company%
<BR>
for: %for%
<BR>
</BODY>


Should look like this.

image

The final result looks like this.

image

If you debug these are the place holders that are put together.

image

1 comment:

Anonymous said...

Great content, I really like it here! By the way, could you give me your personal opinion on this erp software product: https://ax-dynamics.com/enterprise-resource-planning? I'm considering implementing it in my company, but I still have some doubts.