Apply same teams to account contacts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michib
    Member
    • Sep 2016
    • 65

    Apply same teams to account contacts?

    Hi to all,

    I'm wondering if there is any configuration option in Espo to allow a new contact created inside an Account to auto-inherit it's parent assigned teams... I know that there is a default team for every user which is enforced upon record creation but I'd like to have something that transfers all the teams assigned to the parent.

    Any idea?

    thanks, regards
    Michele
    Last edited by michib; 03-07-2018, 08:10 PM.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Do you mean, if you create a contact related to account, contact.teams assign account.teams?
    For this you can use formula


    ifThen(entity\isNew() && accountId, teamsIds=account.teamsIds)
    (didn't test)
    but this will copy onlyteams from primary account

    Comment

    • michib
      Member
      • Sep 2016
      • 65

      #3
      Originally posted by tanya
      ifThen(entity\isNew() && accountId, teamsIds=account.teamsIds)
      (didn't test)
      but this will copy onlyteams from primary account
      Hi Tanya, It worked, thanks so much. It was exactly what I was looking for.

      best regards,
      Michele

      Comment

      Working...