Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Associate Email activity in custom entity

Posted on by 245

We have a workflow (real-time) that generates e-mail (using template), and then create a Document Placeholder (custom entity).

In the Document Placeholder entity, there is a field called "Email Link".

We wanted to get the URL of the generated e-mail activity in the workflow step, and copy the URL value in the Document Placeholder field.

Any idea?

*This post is locked for comments

  • pavanmanideep Profile Picture
    pavanmanideep 1,329 on at
    RE: Associate Email activity in custom entity

    I am afraid that you can't get the link to the email activity created directly into a field dynamically while creating a document.

    However you can try to create a lookup field in the entity where in you can the related email activity and show it...thinking that we have only one email activity for a record..

    Hope this helps...

  • RE: Associate Email activity in custom entity

    Let me rephrase my problem...

    I have a workflow with two steps, (1) Send email and (2) Create document.

    After the Send email activity step, I want to capture the link of the generated e-mail activity and use that in the created document (step 2). In the custom Document, there is a custom field called "Email Link".

  • Suggested answer
    pavanmanideep Profile Picture
    pavanmanideep 1,329 on at
    RE: Associate Email activity in custom entity

    Values-from-form-context.png,

    Within your workflow which is registered on Document Placeholder (custom entity). You should be able to get the field  "Email Link" using the form assistant where you can directly use that while you are sending your email. It should look some thing like above.

  • RE: Associate Email activity in custom entity

    Hi David,

    Yes, I'm aware of the Record URL (Dynamic), but do you have an idea on how to fetch from the workflow steps the Send Email activity and use it in when I create the Document and populate the field using Record URL (Dynamic) of the generated e-mail activity?

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Associate Email activity in custom entity

    The url of the activity is available as the 'Record Url (Dynamic)' attribute in an Update workflow step

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans