Updating a field on change of other fields.

Mahesh Babu5
Kilo Contributor

Create a Business Rule on Incident  form such that whenever state changes from New to On Hold 'short_descrption'  field  needs to get updated as **********************

How to get this done.

3 REPLIES 3

Nitin_NOW
Tera Guru

You can create a simple onChange() client script to achieve the requirement. 

function onChange(control, oldValue, newValue, isLoading){

if(newValue =='On hold field value'{

g-form.setValue('short_description', 'Put your text which you want to see in the Short description');

}

}

Make sure you select the state field in the variable name of the catalog client script. 

Please hit correct based on impact of response.

Regards!

Is there any way possible that we can achieve it by using Business Rules.

Karishma5
Tera Expert

Hi Mahesh,

If you want to achieve it from business rule you can do as follows:

 

In When to Run  Filter condition ,

find_real_file.png

 

In the Script you can write as follows:

find_real_file.png

Hope it Helps. Mark it as Helpful or correct if find helpful.

 

Regards,

Karishma Horo

find_real_file.png

www.dxsherpa.com