Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

In Workflow, can't add email text field as variable in To field

(0) ShareShare
ReportReport
Posted on by

I have a custom entity "Request" that has text field with type email to be used for an internal requester's email address. Internal requester's doesn't have access to CRM.  We want to send them an email acknowledgement that we have created a request on their behalf. After that, our team sends emails from their own Outlook when interacting with them.

When we create a workflow that includes sending an email, the email field is not showing up as a choice to be placed in the "To" field.  The only choices are User entity related fields and Contact related fields.  We are managing external vendor contacts in the Contact entity. 

How would I get this to work? 

  • Community Member Profile Picture
    on at
    RE: In Workflow, can't add email text field as variable in To field

    I ended up creating a new custom entity and enabling the email checkbox. I created an N:1 relationship between the Request and the new entity. I was then able to track internal contacts and send them emails from the workflow.  

  • Community Member Profile Picture
    on at
    RE: In Workflow, can't add email text field as variable in To field

    Actually, I realized I missed an important point. Request is just the Case entity renamed. It is not a custom entity. The system name is incident.

  • Community Member Profile Picture
    on at
    RE: In Workflow, can't add email text field as variable in To field

    8.2.3

  • Community Member Profile Picture
    on at
    RE: In Workflow, can't add email text field as variable in To field

    hmm.... I have noticed that you have a specific option that I do not have, which is "Enable for interactive experience".

    Which version are you exactly on, is that < 9.0?

    P.S.: I can enable the "Send Mail" functionality on any custom entity I got in my system. So I am not fully sure what is different about your entitiy...

  • Community Member Profile Picture
    on at
    RE: In Workflow, can't add email text field as variable in To field

    This sounds promising.  However, the option for "sending email" is out.

    pastedimage1575916773800v1.png

  • Suggested answer
    Roma Gupta Profile Picture
    725 on at
    RE: In Workflow, can't add email text field as variable in To field

    Hi

    You don't want to mix internal requester's email & external contacts you mean by putting them both under contact entity?

    To field will only receive User or Contact. Do you by any chance can create a relation with Activity Party & see if that works for you?

    Regards

    Roma

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: In Workflow, can't add email text field as variable in To field

    Hey Will,

    that is actually a little tricky.

    The "To:" fields in the mail entity is a special type of field: "Party Field".
    This is a field that can "look at" several entities, so it is something like a "multi-entity-lookup".
    So in order to work with this field "correctly" you need to give it some "valid input".

    A valid input in this case would be a record (lookup) which contains an E-Mail field.
    That is a string field with the format "E-Mail":
    pastedimage1575915791410v1.png

    Once you have done that, you need to go onto the Entity you want to enable sending E-mails to and have just created the field on:
    pastedimage1575915900019v2.png

    Once you have done that, the Entity should appear in the "To:" fields all over the system meaning you can use it in a workflow to send mails to the e-mail address left in the specific field in the record.

    I think that should cover your requirement, since you have the Mail field on the "Request" entity. So you would pick the "Request" entitiy to enable sending emails to and pick in the workflow.

    Please mark this answer as verified if it helped solving your issue.
    Happy Developing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans