case-assignment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterberlin
    Active Community Member
    • Mar 2015
    • 1004

    case-assignment

    Hello,

    users edit cases that are not yet assigned to anyone. You forget to assign the case to yourself.
    For the solution I wanted to use the formula code:
    assignedUserId = modifiedById;
    it does not work

    peter
  • yuri
    Member
    • Mar 2014
    • 8624

    #2
    Hi Peter,

    Try this:

    Code:
    assignedUserId  = env\userAttribute('id');

    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • peterberlin
      Active Community Member
      • Mar 2015
      • 1004

      #3
      Hi Yuri

      Thanks a lot. The code works. Unfortunately the new ID is shown and not the username. After a reload of the mask or a new call of the data set the display is correct.

      You can start a no reload of the page with formula.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8624

        #4
        you need to add:

        Code:
        assignedUserName = env\userAttribute('name');
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment


        • peterberlin
          peterberlin commented
          Editing a comment
          Excuse me,
          I might as well have known that by now.
      Working...