web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Send email to related users

(0) ShareShare
ReportReport
Posted on by 12

He guys,
Wondering if anyone has seen (and met) this requirement before.
We (dynamics crm 2016, 8.1, on premise) have a custom entity called Project. Each project has a group of users related to it that form the project team.
Whenever the project is put 'on hold', all the users related to it should receive an email telling them that this specific project was put on hold.

There are about 80.000 projects in our system, so I'm not very keen on making a team for every single one of them. The putting on hold action every now and then occurs in bulk, so I can't use an already existing team to add members to, email and remove members.

If I use one of the (almost standard) 3rd party tools to distribute a workflow to related records, I can't transfer the project number or name with it and the email has little to no value.

Any ideas?
Thanks for thinking along with me.
Regards,
Jeroen

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    You could create a workflow on user entity which send email to that user. You can then trigger a workflow on all your child record whenever the project status changes. For this you can use the archive.codeplex.com

    I have tried/tested this for CRM2 2016 but it should work.

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    www.thrives.be/.../run-workflow-on-child-records

  • Jeroen J Profile Picture
    12 on at

    Hi Ravi,

    thanks for your quick response.

    I already was aware of this possibility. The problem is that I have to incorporate the project number in the email body. If I create a workflow that emails to the user, there's no way (yet) to know which project is involved.

    Any idea or solution on this?

    thanks!

    Jeroen

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Is it because you have N:N relationship between Project & Users? If yes then you might have to go for some custom code like a plugin which triugger on status change and then builds the email and send it to all the users retrieves the  related users list

  • Jeroen J Profile Picture
    12 on at

    Hi Ravi,

    Yeah, it's because of the N:N relationship and yeah, I know. Building a custom code plugin to do the trick, is definately an answer.

    This time I was hoping to get it done with already existing workflow functionality.

  • Jeroen J Profile Picture
    12 on at

    Hi readers,

    Solved this issue!

    Using the Workflow Elements from Kaskela, I managed to (1) create an email and (2) add recipients from query to the TO field. Works like a charm!

    Thanks for thinking along with me. I surely hope this solution can help others in similar situation.

    Regards,

    Jeroen

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans