We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting error "Trying to get property of non object" in Process Designer

Accepted answer
edited May 20, 2019 9:31PM in Integrations and APIs 3 comments


Trying to retreive assignee of an incident.


Hi Everyone,

I am trying to create an object listener for the process designer and I just want to know if the incident has ben assigned.

I am trying the following code, but getting this error for that line of code.

if ( gettype($obj->AssignedTo->Account->ID) != "NULL" || gettype($obj->AssignedTo->StaffGroup->ID) != "NULL"  ) {
$assigned = true;

Fatal error, Trying to get property of non object.

Does anyone know the problem? thanks!!

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!