Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Timesheet workflow error : Stopped (error): X++ Exception: User XXX not found.

(0) ShareShare
ReportReport
Posted on by 115

Hello everybody,

I read some posts on this topic, but I didn't find the solution.

I presume I made a mistake in the past but I fixed it and it doest work.

SO summary

I have a worker (Lucy P.) who submitted timesheet.

Worker's position is : P1.1.0.1.3

In the position's detail this position reports to position P1.1.0.1. This position is dedicated to worker Colleen S.

This worker (Colleen S.) is related to a user (userid is colleen.)

User is enabled... but in the past I updated with sql request the field enable with value 0.

with enable value 0 I dot this message in the workflow

"01/06/2021 11:14:37:
Stopped (error): X++ Exception: User colleen. not found.
at SysWorkflowDocument-assert
SysWorkflowDocument-assertPermission
SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume"

I updated the field (sql) - I can't do it in the form because I have an error message (The Active Directory user or group does not exist. Contact your network administrator.)

then I resumed the workflow but I still have the message

01/06/2021 14:20:39:
Stopped (error): X++ Exception: User colleen. not found.
at SysWorkflowDocument-assert
SysWorkflowDocument-assertPermission
SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume

Do you have any idea ? 

  • Verified answer
    Christophe BOURNAC Profile Picture
    Christophe BOURNAC 115 on at
    RE: Timesheet workflow error : Stopped (error): X++ Exception: User XXX not found.

    Yes, this is what I noticed today

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Timesheet workflow error : Stopped (error): X++ Exception: User XXX not found.

    Hello Christophe,

    You mean that today everything works fine again and that your issue is resolved?

    Best regards,

    Ludwig

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,489 Super User 2025 Season 1 on at
    RE: Timesheet workflow error : Stopped (error): X++ Exception: User XXX not found.

    Hi Christophe,

    If you update date directly in SQL, it will not be recognized if caching needs to be refreshed. As there is a nightly flush, it now can read the correct value for the Enabled field.

    For the error "The Active Directory user or group does not exist.", you can check the details of the UserInfo form if all users and groups are known in your Active Directory and if the data per user (Network alias, Domain and SID) is stored correctly.

  • Christophe BOURNAC Profile Picture
    Christophe BOURNAC 115 on at
    RE: Timesheet workflow error : Stopped (error): X++ Exception: User XXX not found.

    Hi Reinhard,

    I tried both of solution with always the same result.

    But what is really stranged, this is that TODAY, I resumed the workflow again... and everything was OK. Work item were created and assigned to user Colleen S.

    Thank's for your answer.

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Timesheet workflow error : Stopped (error): X++ Exception: User XXX not found.

    Hi,

    If you start a completely new timesheet workflow do you still get the message?

    Rather than resuming the workflow, it might be better canceling it and start this specific timesheet workflow from scratch, which might involve creating the timesheet new again.

    Best regards,

    Ludwig

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans