Custom Process Error/Confusion
Content
Hello,
I am trying to setup my first Custom Process to create an entry in a Custom Object when an incident is saved. I am currently running into an issue with the Setup Function in the TestHarness. The code is below.
I am getting the following error on the $newPage->SentBy = $testObject->AssignedTo->Account->Name; line
Type mismatch: Must be string
The Custom Object field is a string and as far as can see the Name field should also be one, so why is this giving me an error? There is an account Assigned to this Incident.
Thank you
Tagged:
0