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
15
Views
1
Comments
edited Jan 30, 2019 12:27PM in UI Extensibility 1 comment

Summary

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

Content

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.

Register

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