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 :
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

I have the same question (0)
  • Community Member Profile Picture
    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

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

    Perfect! Thanks for the great explanation Darcy!

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 596 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 570 Super User 2025 Season 2

#3
CU05031448-0 Profile Picture

CU05031448-0 556

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans