Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Leave workflow - Batch jobs

(0) ShareShare
ReportReport
Posted on by 281

Hi community, 

I'm currently in the process of setting up leave on dynamics. I've been following Tom Elliot's blog on how to set up leave and email officiations attached to the workflow. 

I do however want to get some clarification on batch jobs. I followed this part of the blog:

www.tomelliott.co.uk/.../ 

Where by I went into email distributors batch in system administration and clicked 'ok' and this pushed out my emails from my leave workflow to my manager. of course I don't want to have to manually execute this all the time, so I went back into email distributor batch and attached the batch group which is connected to the organisation email template that I connected on the workflow, and I then went into recurrence and set the recurrence to 10minutues with no end date. 

I feel like this might be a stupid question, but does that mean, now that when I apply for leave this triggers an email which is then triggered by the batch group10 minutes later to be sent to my manager? 

Thanks you

  • Henry G Smith Profile Picture
    Henry G Smith 281 on at
    RE: Leave workflow - Batch jobs

    Perfect! Thanks for the great explanation Darcy!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Leave workflow - Batch jobs

    Hi HSDynamics. 

    Not a stupid question as it can be a bit confusing. If your batch recurrence is set for every ten minutes and in a status of Waiting, then every ten minutes it should send out an email for anything that is que'ed up; there is an email processing area where you can see what is que'ed up. 

    I often get confused because of the underpinning batches that are always closely related. For instance: If you created an Alert Rule. First you would do the action that the rule was created for. But then nothing happens till the Alerts batch checks for any changes, and it will create a message, but it does nothing till the email batch actually sends the message. If you think about it in that sense, depending on how often your workflow is working, it might be >10 minutes for your boss to receive an email because of the batches that come before the sending of the email.. If in doubt I usually check: Alerts, Due Day Alerts, Workflow Batches x3, and then your email batch; I am only going off memory and the Alerts batches might not be necessary. 

    Let me know if this helps. 


    Darcy Savard

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans