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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How we can call on-demand workflow in custom workflow to send emails

(0) ShareShare
ReportReport
Posted on by 255

Hi,

We have written custom workflow for sending multiple emails. Due to some pros & cons avoiding send emails through code & also avoiding to write full html in custom workflow code in string format, we are trying to trigger on-demand workflow returning List<EntityReference> from Output parameter but it is not allowing parameter more than once.

Could anyone suggest which is best way to send emails to multiple customer's from custom workflow.

How we can call on-demand workflow in custom workflow ?

Regards,

Abhishek Bihani.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    purwar purwar Profile Picture
    2,836 on at
    RE: How we can call on-demand workflow in custom workflow to send emails

    You can take help from below link:

    worldofdynamics.blogspot.in/.../dynamics-crm-2011-c-code-for-sending.html

  • Suggested answer
    Mandar Joshi Profile Picture
    2,116 on at
    RE: How we can call on-demand workflow in custom workflow to send emails

    Hi Abhishek,

    You can have a create email step added to a workflow process and have all your html email content created in this step. Use this email as input parameter to a custom workflow  and update the 'To' field to list of recipient and send the email from the same custom workflow step.

    What are the cons that you are referring too for sending email through custom code?

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans