Formula, current user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Russ
    Senior Member
    • Feb 2022
    • 423

    Formula, current user

    Hi!
    As we know we can use "current user" in many automations (workflows in particular), however, when I am trying to create a related record in the workflow, I have no such option, is there a way to get current user in formula?

    Thanks
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    $currentUser = env\userAttribute('name');
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • Jakub Grufik
      Senior Member
      • Aug 2022
      • 361

      #3

      Comment

      • Russ
        Senior Member
        • Feb 2022
        • 423

        #4
        thanks

        Comment

        Working...