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

Custom Process Error/Confusion

Accepted answer
21
Views
4
Comments
edited Sep 11, 2019 2:51PM in Integrations and APIs 4 comments

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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