Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

On cell edit client script

Shyna1
Tera Contributor

Hi ,

In the list view of the catalog task table , whenever there is a change in the assigned to field the  cost center of the assignee will be populated in the 'Assignee's cost center' field .

There is a script include to fetch the cost center of the assignee.

We cannot use g_form object in the on cell edit client script then how do we save the cost center value in the 'Assignee cost center' field upon change in the Assigned to.

 

Thanks in advance!!

2 REPLIES 2

Sagar Pagar
Tera Patron

Hi,

I would suggest you to create a Before insert/update business rule. it will work on form and List as well.

 

Thanks,

Sagar Pagar

 

The world works with ServiceNow

Hi,

Good day!

Have you completed this? or let us know here you stuck?

 

Thanks,

Sagar Pagar

The world works with ServiceNow