Skip to main content

Notifications

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 312

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?

  • Suggested answer
    saurabh bharti Profile Picture
    15,033 Super User 2025 Season 1 on at
    Timesheet workflow issue
    Hi,
     
    Can you please check if both users mapped worker has employment in same legal entity?
     
  • CU09090809-0 Profile Picture
    6 on at
    Timesheet workflow issue
    Hi Gaute,

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

    Best regards,
    Max
  • Suggested answer
    Charlotte X Profile Picture
    on at
  • André Arnaud de Calavon Profile Picture
    293,296 Super User 2025 Season 1 on at
    RE: Timesheet workflow issue

    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
    Morgan Bazin Profile Picture
    44 on at
    RE: Timesheet workflow issue

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,296 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,093 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans