XrmMockup
XrmMockup copied to clipboard
Workflow error when using Send Email
Describe the bug An error is thrown when my workflows uses the function Send Email and refers to values from the Lead that triggered the workflow.
To Reproduce Steps to reproduce the behavior:
- Setup a Workflow that triggers on the Lead entity
- Make the workflow uses the function "Send email"
- Refer to fields of the Lead entity
- See error
Expected behavior The Workflow should be able to lookup the Lead that triggered the workflow.
Screenshots
Workflow:
Send email:
Environment
- CRM version: [8.2]
- Tool version: [1.0.0]
Additional context The thrown error message is: System.ServiceModel.FaultException: The record of type 'lead' with id '2208ce77-ae1f-45dd-a1c0-d75df7cfb5b7' does not exist. If you use hard-coded records from CRM, then make sure you create those records before retrieving them.