Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Send Email to Contact every 30 mins - part of a Test to ensure email is received on time

Posted on by 5

Hi all,

A current issue is that email sending on one of our Shared inboxes is taking too long. Users aren't getting Activation links or codes on time.

I've created the below workflow in Dynamics. How can I set this up in North52 Schedule to run every 30 mins? or is there an alternative? I've set it up a few times now with the Fetch XML query of:

<fetch top="1" ><entity name="contact"></entity></fetch>

but still not getting the email sent. I want to to send to this one specific contact I have for testing in Production. From there I will automate a job to pick up the email in Gmail via a Python script.

Any pointers appreciated for a very basic CRM user.

pastedimage1648566536787v1.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Send Email to Contact every 30 mins - part of a Test to ensure email is received on time

    Hi,

    sorry I was on a conference.

    You need some kind of condition in your process to avoid that the process is starting on every email. You are right, your process as is will fire on every email record that is created. Are you using the same subject line for every email or the same contact.

  • davectest Profile Picture
    davectest 5 on at
    RE: Send Email to Contact every 30 mins - part of a Test to ensure email is received on time

    What is occurring is that the email is sending on the trigger of another email sending in CRM. an email was sent outside of this workflow at 3.05am which trigger this workflow. the workflow needs to run every 5 minutes if possible and not depend on another trigger.

  • davectest Profile Picture
    davectest 5 on at
    RE: Send Email to Contact every 30 mins - part of a Test to ensure email is received on time

    it is sending but sending every 1 minute and then a gap of 5 hours :-)

    Any advice on the Wait Condition appreciated and why the loop continues every minute.

    pastedimage1648741519694v1.png

  • davectest Profile Picture
    davectest 5 on at
    RE: Send Email to Contact every 30 mins - part of a Test to ensure email is received on time

    Hi Axel,

    I might not have got this correct? I've activated the Process but the initial email isn't sending. 

    pastedimage1648634232404v1.png

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Send Email to Contact every 30 mins - part of a Test to ensure email is received on time

    Hi,

    Set your workflow also as Child workflow. Add a waiting step to wait 30 minutes and add the Run Child Workflow step and select the same workflow. That will restart the workflow and send the email every 30 minutes.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans