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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Need Help! Leave workflow not working after approval

(1) ShareShare
ReportReport
Posted on by 281

Hi everyone, 

I have set up a workflow for leave that when an employee applies for time off, it gets sent to their manager for approval. This request is being sent through teams, and the manager accepts the request, but the workflow is not moving to the next stage. 

It just says the assigned person is still pending. 

The workflow has worked in the past.....so it is not the workflow being incorrect.

Would appreciate some guidance on this one!

Thank you,

Henry

I have the same question (0)
  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi Henry,

    Did you check the Workflow infrastructure configuration? If everything is ok here then click on Ok. In the batch job, search for workflow and make sure the batch status is in waiting or execution status.

    Please check below reference link.

    axparadise.com/.../

  • Henry G Smith Profile Picture
    281 on at

    Hi Parag,

    Thanks for your swift reply.

    I'm using Hr standalone, so I don't have 'workflow infrastructure configuration,' which is part of F&O? Please, correct me if I'm wrong.

    Apologies if I am missing something, I'm still confused as the batch jobs are waiting as of yesterday, .but the workflow is still not progressing and is still on pending even though managers have approved the requests through teams.

    pastedimage1670364338898v1.png

  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi Henry,

    Can you please check the batch job - Business Events system?

    As per MS, this should be in waiting or execution state.

    If the issue persists, check the status of the Business Events system batch job as a system administrator. If it's in a Waiting or Executing stage, check again in a few minutes. If the status remains unchanged, log a support ticket so that our team can help fix the issue.

    learn.microsoft.com/.../hr-teams-leave-app

  • Henry G Smith Profile Picture
    281 on at

    Hi Parag,

    Thank you for your help yesterday.

    I monitored it throughout the day and noticed that a few more leave approvals worked fine as the business events system batch job was executing, and the workflow seemed to move to the next stage with no troubles.

    However, this morning it's presenting with the same problems as yesterday. A manager has approved leave, and I've seen the business events system batch job execute and then checked on that approval done by the manager yesterday, and it still hasn't budged.

    I might raise a ticket with Microsoft to get their thoughts.

  • Henry G Smith Profile Picture
    281 on at

    Has anyone else had this problem before?

  • AndyKHayward Profile Picture
    20 on at

    I am having the same issue.

    In my case - I am also using D365 HR stand-alone.  We have been live for 2 years and this has been working.

    It looks like Dec 19th the workflow stopped running.  Everything is showing as a pending status.

    The users submit holiday but it doesn't trigger the workflow properly - the line manage doesn't get an email or Teams alert and cant approve or reject the holiday in the self-service even though the task is there.

    We haven't changed anything that I am aware of so I wonder if there was an upgrade that took place at this time.

    regards,

    Andy

  • Henry G Smith Profile Picture
    281 on at

    Hi AndyKHayward ,

    Make sure you check the batch jobs.

    My problem was fixed by going into the individual's teams app, signing out, uninstalling, reinstalling the app, reassigning the leave request to myself, and then back to the original manager.

    It was very annoying as I had to do this manually for many team members.

    Let me know if this works.

  • AndyKHayward Profile Picture
    20 on at

    Hi,

    I have checked the batch jobs and did stop the workflow one (which looked like it was stuck and hadn't run since mid December about the time the last successful run took place).

    However, it doesn't seem to have changed anything.  

    The batch job - business events is running.

    I can see there are absences to approve in my self-service section with a status of submitted but I am unable to approve or reject them.  If we can get this bit working then I would work on the Teams aspect and email alert.

    Andy

  • Simon Barrett Profile Picture
    287 on at

    When the approver clicked approve in Teams, did they receive a confirmation notification that they had approved the request?

    Unfortunately, the Teams add-in is a bit buggy and sometimes the approval does not register correctly in the HR app.

  • AndyKHayward Profile Picture
    20 on at

    No.

    I've done some digging and the task seems to start but not go to step 2.  No email notification is sent, no Teams notification is sent.  The manager can see the request but not approve/decline.

    I've checked the batch queue and cant see anything obviously not working but dont really know what I am looking for!

    Andy

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans