Topic by M K
Content
I have developed a CPM code for contact update where I am trying to fetch the label of the new associated org into a contact custom field. However, the custom field is still getting populated with the old org label.
Here is the code snippet in Apply method
$org = $obj->Organization;
if($org!=null)
{
$obj->CustomFields->testing=$org->ID;
}
I am able to successfully get the updated First name/Last name of Contact in the custom field. However it is the org label that I need.
Please advice.
Please advice.