formula to get the user list of a specific team

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vincent
    Senior Member
    • May 2017
    • 176

    formula to get the user list of a specific team

    I am writing script in a process flowchart and would like to get the user list of a specific team in the script. Thanks
  • Vincent
    Senior Member
    • May 2017
    • 176

    #2
    It is not easy as there is no userIds attribute in Team entity

    Comment

    • lazovic
      Super Moderator
      • Jan 2022
      • 810

      #3
      Hello Vincent,

      Maybe this formula will help you:

      $userIds = record\findRelatedMany('Team', $teamId, 'users', 100);

      Comment

      • Vincent
        Senior Member
        • May 2017
        • 176

        #4
        Thank you!

        Comment

        Working...