Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Workflow Stopped (error): X++ Exception: User not found.

Posted on by 90

Hi, All. 

We have created purchase requsition and add particular financial dimension to that PR. After that we have added one user as/in owner table of that financial dimension value which was added to pr but when we submit pr to the workflow we get below error.

pastedimage1592477117074v1.png

Our PR workflow goes for the "Financial dimension owner" for approval.

Have anyone faced this scenario. Pls help.

  • Suggested answer
    RE: Workflow Stopped (error): X++ Exception: User not found.

    Hi UK257,

    Assigning position when Purchase requisition reviewers is used in workflow is not necessary. It is used only for hierarchy workflow.

    If you still have troubles, please open Service Request to Microsoft support so it can be investigated deeper.

  • Uk257 Profile Picture
    Uk257 90 on at
    RE: Workflow Stopped (error): X++ Exception: User not found.

    Hi, Saurav.

    Find missed screenshot here.

    pastedimage1592811890607v1.png

  • Uk257 Profile Picture
    Uk257 90 on at
    RE: Workflow Stopped (error): X++ Exception: User not found.

    Hi, All.

    Apologies for the late reply.

    I have checked user relation under system administrator. User is linked with the person same as user name.

    Also checked the user is enable in system administrator.

    Sourav,

    I have checked employees form under HR module for particular user. There is no position assigned with particular user. Refer screenshot.

    ...

    Is it necessary to link position with employee. Pls reply.

  • Suggested answer
    SouravDam Profile Picture
    SouravDam 11,721 on at
    RE: Workflow Stopped (error): X++ Exception: User not found.

    Hello Uk257,

    Couple of suggestions already provided on this thread.

    Appreciate if you kindly go through and update the Forum.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • Suggested answer
    SouravDam Profile Picture
    SouravDam 11,721 on at
    RE: Workflow Stopped (error): X++ Exception: User not found.

    Hello Uk257,

    Have a look at below areas if configured properly.

    -- Position Hierarchy in HR module. Once you configure the "Report to position" in 'Positions' form; automatically position hierarchy will be updated.

    -- Make sure that you have added the correct user in "Persons" field in System admin > Users.

    -- The particular user which is showing in error; must be set to "Enabled" in System admin > Users.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • Suggested answer
    RE: Workflow Stopped (error): X++ Exception: User not found.

    Hi Uk257,

    As Jaz suggested - most probably the Employee assigned as Financial dimension value owner:

    TW2.png

    Is not connected to any User in System administration. Below you see correct setup:

    TW2.png

    Please double check that and let us know whether the issue has been resolved ?

  • Suggested answer
    Jay Barot Profile Picture
    Jay Barot 1,500 on at
    RE: Workflow Stopped (error): X++ Exception: User not found.

    Please check the employee selected as owner is attached /mapped with user id in AX or not?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans