Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

Posted on by 49

Hi everyone. I need your help.

Just one employee can't submit a leave request, others can. When he open Time off request in application and tried to submite a leave request he gets the following message:

"The time off was not submitted successfully. The time off has been saved as a draft request."

When he does Inspect elements he gets the following message:

"Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics 365 Finance and Operations."

I check his role and he has Employee role as other employees. 

Can you help me with this. How can i solve this? 

Thank you

  • Suggested answer
    ibsays Profile Picture
    ibsays 10 on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    "Just suggesting" could the issue be cross entities? Like if you are an Australian and applying for an American?

  • ibsays Profile Picture
    ibsays 10 on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    Hi,

    We are also facing the same issue. We have followed the below steps. But no donut. Is this issue resolved?

  • dz_ha Profile Picture
    dz_ha 49 on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    Hi Parag Chapre 

    Thank you for your answer.

    No, that person is not assigned to other user. I check table User Person relationship I see that relation for this user does not exist.

    But, when I check Worker table in Excel I see that User Relationship Effective and Expiration don't empty. 

    Also column ObjectID has a strange value, all zeros.

    If I delete value from User Relationship Effective and Expiration through Excel from the Worker table,  I will be able to reassign the employee. But it is not impossible to edit these two fields.

    Do you have any suggestion how to solve this?

    Thank you for your help.

    Kind regards

  • Parag Chapre Profile Picture
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    Can you please check whether that person is assigned to any user? If yes then remove the person from other user and add to new user.

  • dz_ha Profile Picture
    dz_ha 49 on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    Hello Parag Chapre 

    I delete user from my user list and I tried to add that user again. I succeeded to import him, but I cant connect with employees / Person. I cant find that person on the list.

    s.PNG

    Did I do something wrong?

    Maybe I had to remove relation between the user and the worker in the Maintain versions. But I don't do that. Is there any way I can fix it?

  • Suggested answer
    Parag Chapre Profile Picture
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    Hi dz_ha,

    You are trying to submit time off for more than one day. Can you please try to request Time off for one day?

    If it does not work then please try below workaround.

    1. First check worker leave type available balance

    2. Remove the person for this user from the user form and assign again.

    3. Remove the employee role from this user and assign employee role again.

    4. If possible then try to give advance permission or role like manager for testing and check time off again.

    Please let me know if above workaround works.

  • Komi Siabi Profile Picture
    Komi Siabi 12,692 Most Valuable Professional on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    Hello dz_ha,

    Thanks. Could you please, share the path to this form so I can try to reproduce the error on my VM.

  • dz_ha Profile Picture
    dz_ha 49 on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    Hello Komi Siabi 

    He tried to login again, but he has the same problem.

    Screenshot of the error:

    8712.MicrosoftTeams_2D00_image.png

  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,692 Most Valuable Professional on at
    RE: Employee can't sumbit a leave request and get this message: The time off was not submitted successfully. The time off has been saved as a draft request.

    Have you tried this ?

    Ask the user to log out from FO and login back.

    In addition, can we please have a screenshot of the form and the error.

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

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans