Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Need help dot walking in assignment script for Assigned to.

taylor21
Mega Expert

Hi all,

I am attempting to create an assignment rule that sets the "Assigned to" field to the "Opened for's" Business Partner which is a value populated in their HR Profile. The Opened for field is a reference to the user table. I'm a beginner with scripting so I am looking for some assistance on how to populate the current record's "Assigned to" field with the Opened for's Business Partner using an Assignment rule or a Matching rule. Any assistance is greatly appreciated.

 

Taylor

16 REPLIES 16

Hi Brian, thank you - I added the message script (containing the business partner) to the matching rule and did not have any results so I created a business rule with the same script and I am now receiving a message (below) when I submit an item on the portal. 

Hi Bryan, thank you - I added the message with the business partner in it and it did not work in the matching rule. I deactivated the matching rule and created a business rule with the same script. I am receiving the following message when I submit an item on the portal: