Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Refer to current user

Posted on by 2
I would like to refer to the current user in a filter.
 
We work with service orders. Eacht service order has a field called Action For, which shows the user's number (and also a field called Name Action For, which shows the full name). 
Hoe can I refer to the current user, in order to show only service orders that have an Action For the current user?
 
I tried:
USER
CURRENTUSER
MY
USERID
%User%
%CURRENTUSER%
%USERID%
 
But all to no avail...
 
EDIT: the field Aciotn For does NOT display the username, but the worker's number.
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,747 Super User 2024 Season 2 on at
    Refer to current user
    Try the below filter:
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,339 Super User 2024 Season 2 on at
    Refer to current user
    You enter CURRENTUSER, which is only valid in the code, not in the UI. 
    You need to enter the current user's name.
     
    Hope this helps.
    Thanks.
    ZHU
  • gdrenteria Profile Picture
    gdrenteria 12,065 Most Valuable Professional on at
    Refer to current user

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans