web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Timesheet workflow issue

(0) ShareShare
ReportReport
Posted on by 316

Hi,

When I restrict a manager's security roles to not apply for all legal entities, the manager does not receive timesheets for approval.

The system gives the the following error:

Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user (User.name). Please review the user's security permissions to ensure they are sufficient for this workflow document and then resume the workflow.
at SysWorkflowWo

This is what the workflow look like:

6366.pastedimage1675069301429v1.png

The timesheets are supposed to be assigned to the submitting user's manager for approval.

Both users are working in the same legal entity, and the timesheet is registered towards the same legal entity.

However, if I restrict the security roles to only apply for that legal entity, the workflow fails. 

Does anyone have any idea why this happens?

I have the same question (0)
  • Suggested answer
    Morgan Bazin Profile Picture
    95 on at

    Do both users have employment records in both legal entities? This could be the cause of the security error. 

    Check in Human Resources>Employees>[Employee Record]>Employment history

    pastedimage1675116229417v1.png

  • André Arnaud de Calavon Profile Picture
    301,146 Super User 2025 Season 2 on at

    Hi Gaute,

    Can you tell which exact roles were assigned to the manager and if you also restricted the legal entities for the system user role? If you restricted the system user role, try to add the 'DAT' company to the system user role.

  • Suggested answer
    Charlotte X Profile Picture
    on at
  • CU09090809-0 Profile Picture
    8 on at
    Hi Gaute,

    We have encountered exactly the same issue. Did you find a solution for this?

    Best regards,
    Max
  • Suggested answer
    saurabh bharti Profile Picture
    15,039 Moderator on at
    Hi,
     
    Can you please check if both users mapped worker has employment in same legal entity?
     

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans