Auto populate the field value in problem form based on problem task form fields.

Anupriya_11
Tera Contributor

Hi all, i have requirement on problem table. i have created new field on problem table , i need to auto-populate this new field value  based on category and root cause subcategory. And also this category and subcategory fields are dropdown fields, these fields are auto populated based on  problem task category  and sub category field  on problem form ,this configuration was already done...i just need to auto-populate this new field.

condition

1)problem task type need to be RCA

2)based on category and subcategory  value on problem task form

3)need to auto populate new field value  on problem form.

 

Anupriya_11_0-1697305452299.png

 

 

Anupriya_11_2-1697304040685.png

 

5 REPLIES 5

KevinBellardine
Kilo Sage

Hey Anupriya,

 

If I'm understanding this correctly you should be able to do this with a business rule or client script. If the user needs to see the value then client script is your best bet. I would look for what was configured for the other RCA fields and add some logic for your new field. 

Sandeep Rajput
Tera Patron
Tera Patron

@Anupriya_11 You can choose to implement this solution using a GlideAjax + Client Callable script include (if the value need to be shown to user before form submission) or an After Update business rule if the value need not to be shown at the time of form submission.

arasn
Tera Contributor

@Anupriya_11 this could be done with a business rule or a client script 

Anupriya_11
Tera Contributor

Hi all, i have written a Business rule and client script , now the new field value is populating. but once the state is changed  the field is getting emptied.  could you please help me how to  fix it.

 

Thanks