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
Great to hear Andy!
Batch jobs can be weird at times! I had a similar problem a few months ago as well.
Good to know everything has been resolved though.
Just wanted to report that we have resolved the issue.
I was pretty sure it was a batch job that had stopped working and so searched the batch jobs for the text containing workflow and found one that had ended on Dec 19th which was the last time we had a successful event. I changed the status of this to waiting and it restarted immediately and started clearing the pending queue of holiday approvals.
We got there in the end and learnt a bit about the underlying system setup. Would be useful to know what the batch jobs do as a reference somewhere.
regards,
Andy
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
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.
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
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.
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
Has anyone else had this problem before?
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.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,902 Super User 2024 Season 2
Martin Dráb 229,316 Most Valuable Professional
nmaenpaa 101,156