How do i populate the risk field from Metric record to my newly linked risk mitigation task record?

ChuanYanF
Tera Guru

Dear experts,

 

I would like to ask how do I populate the risk field which is defined in the metric for KRI to my risk mitigation task tab that is linked through a relationship defined beforehand. I want the risk field in the risk mitigation task form to populate the same risk that is defined under the metric for KRI record when creating a new risk mitigation task record. Below is the screenshot for the risk mitigation task form now and the relationship linked through the related list. 

ChuanYanF_0-1743654188339.png

ChuanYanF_1-1743654204769.png

 

1 ACCEPTED SOLUTION

Connor Levien
ServiceNow Employee
ServiceNow Employee

@ChauN how are you expecting the risk mitigation to be created? If created manually by an end user you have to make a client script to pre-populate fields. If it is created automatically, you can update the flow of business rule creating the risk mitigation to dot walk and copy the fields from the related metric.

 

Here is how others have tackled the pre population for other record types

https://www.servicenow.com/community/now-platform-forum/onload-client-script-how-to-auto-populate-fi...

View solution in original post

1 REPLY 1

Connor Levien
ServiceNow Employee
ServiceNow Employee

@ChauN how are you expecting the risk mitigation to be created? If created manually by an end user you have to make a client script to pre-populate fields. If it is created automatically, you can update the flow of business rule creating the risk mitigation to dot walk and copy the fields from the related metric.

 

Here is how others have tackled the pre population for other record types

https://www.servicenow.com/community/now-platform-forum/onload-client-script-how-to-auto-populate-fi...