XrmMockup icon indicating copy to clipboard operation
XrmMockup copied to clipboard

Workflow error when using Send Email

Open Jesper-Damgaard opened this issue 3 years ago • 0 comments

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:

  1. Setup a Workflow that triggers on the Lead entity
  2. Make the workflow uses the function "Send email"
  3. Refer to fields of the Lead entity
  4. See error

Expected behavior The Workflow should be able to lookup the Lead that triggered the workflow.

Screenshots Workflow: image

Send email: image

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.

Jesper-Damgaard avatar Aug 24 '20 10:08 Jesper-Damgaard