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, ...
Suggested answer

Leave Request Failed status

(0) ShareShare
ReportReport
Posted on by 103

Hi,

I have users assigned to an annually accrued Leave Plan for April 2020 - March 2021.  Two users have been testing this and have successfully submitted requests for this and next year.  However, now when they submit further requests, the workflow completes successfully but the request fails, (Status - Failed).  The Message log reads "The leave request can't exceed one day for 9/15/2020").  

Can anyone suggest what the problem is here as they both have leave balances that they should be able to take before March next year.

Thanks

I have the same question (0)
  • Suggested answer
    Mancini Magic Profile Picture
    103 on at
    RE: Leave Request Failed status

    Hi,

    Thanks to those who had a look at the issue with the leave request failing.  I eventually found the problem which was due to the days leave being requested having already been booked as sick leave.  The user wasn't prevented from requesting the days leave because they don't have access to the sick leave plan.  

  • Mancini Magic Profile Picture
    103 on at
    RE: Leave Request Failed status

    Leave Plan:

    pastedimage1598626618152v1.png

    Time Off Requests:

    pastedimage1598626772188v3.png

    Message Log:

    pastedimage1598626819771v4.png

  • Mancini Magic Profile Picture
    103 on at
    RE: Leave Request Failed status

    Hi Michal,

    I have tested this again with the same issue but I cannot see what the cause of the fail is.  Here are the steps taken:

    1. Created new Leave Plan: Start Date 01/04/19; Accrual annually based on Plan Start Date; accrual award on period start date and accrual prorated.

    2. Assigned user from 01/04/20 and ran accrual from 01/04/20.  User awarded 34 days leave, as expected

    3. User requested 12 days leave, (14/12/20 - 31/12/20) which successfully went through the workflow but was rejected by the manager.  The time off request gained a status of Denied, as expected

    4. The user requests 3 days, (21/09/20 - 23/09/20) the workflow runs again and the manager approves.  The status on the time off request briefly updates to 'Approved' and then changes to 'Failed'.  the Message Log shows The leave request can't exceed one day for 9/21/2020.

    Another user also assigned the same leave plan has successfully requested 2 days leave, (02/09/20 - 03/09/20) and the request staus is Completed, as expected and the leave balances updated.

    Many thanks for getting back to me

  • Michal Krejza Profile Picture
    on at
    RE: Leave Request Failed status

    Hi Mancini,

    Could you please share more details about setup ?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,317

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 656 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans