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

How do you declare AssigneePersonName?

Received Response
edited Jun 13, 2022 4:11AM in General Technical Discussions 1 comment


I am trying to save a script but I keep getting the error that the AssigneePersonName is undeclared


Hello everyone,

I have the below script written in the Object Workflows and creating a trigger for the milestone object:

if (MilestoneStatusCd == 'Warning' && AssigneePersonName == 'User Supervisor') {}

But when I pressed Ok I got the below error:

The variable [AssigneePersonName] is undeclared. 

Can anyone help? Also, I have tried to use the Assigned To Party ID but got the same error. 

Thank you,

Howdy, Stranger!

Log In

To view full details, sign in.


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