How can I retreive the Primary Contact of a ticket with Connect PHP?
Summary
How can I retreive the Primary Contact of a ticket with Connect PHP?Content
Hi community,
I am trying to retreive the contact from the sample ticket on my process designer script, but I get the error "trying to get property of non-object" for most attempts, for others it just doesnt print anything (and I believe the contact is required while creating the ticket so it could not be null, right?.
Thanks for helping!!
EDIT
Solution:
$contact = $inc->PrimaryContact->LookupName;
Tagged:
0