We had a requirement to copy notes from a lead onto an account, when the lead is qualified. There is no OOB way to do this, but I found a Workflow library called “msdyncrmWorkflowTools” that has a step that can do this. Here is how:
The step is called “Clone Children”: https://github.com/demianrasko/Dynamics-365-Workflow-Tools/blob/master/docs/Clone%20Children.md
First install the Workflow library by downloading the solution from https://github.com/demianrasko/Dynamics-365-Workflow-Tools/releases and importing the solution into your CRM solution.
- Next create a workflow process that is attached to the “Account” entity.
- After you save it, open the newly created process.
- Set the scope to “Organization” (not a required step)
- Set the execute as to “owner of the process” (not a required step)
- And set the process to run when the “record is created”
- Next add a check condition to see if the account’s Originating Lead has been set, which would signal that the account was being created from a lead.
- Next add the Clone Children step from “msdyncrmWorkflowTools (1.0.54.0)
- Set the properties to the following values:
The relationship name is case-sensitive, so enter it as Lead_Annotation.
The new parent field, which is used for the old parent field name is objectid. - Save and activate the process and test it!
No comments:
Post a Comment