Set team for case of a specific type

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iconberg
    Senior Member
    • Oct 2015
    • 103

    Set team for case of a specific type

    Hello,

    i tried this formula at entity 'case':

    PHP Code:
    ifThen(
    entity\isNew() && type == 'Return delivery',
    entity\addLinkMultipleId('teams', 'Retoure');
    ); 
    
    The formula seems to work, for a split of a second i can see the team in the side panel, but after save is finished the team entry is gone.
    Where my mistake?

    Sincerly
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hi,
    in addLinkMultipleId the second parametes is id. Do you have the team with id Retoure? (you can find id in the url, when you open this record)

    Comment

    • iconberg
      Senior Member
      • Oct 2015
      • 103

      #3
      Thanks, it works.

      Comment

      Working...