AnsweredAssumed Answered

How to get posted teams list in before_save logic hook?

Question asked by sonesay inthavong on Mar 16, 2015
Latest reply on Mar 17, 2015 by sonesay inthavong
Hi all

I have a logic hook that works with teams. I need to some some processing in the before_save logic hook in the Leads module.

I can get the current teams with :

foreach ($teams as $team) {
                $crm_teams_list[] = $team->id;

What I'm struggling with is how to find the posted teams list so I can do set some extra values before saving.

This all needs to happen in the before_save logic hook as once its saved it gets sent to Marketo.