Customer Survey Default Value

Vengeful
Mega Sage

Hi,

Where can I modify the Customer Survey default rate?

They want the 5 to be default.

Vengeful_0-1710919430337.png

 

6 REPLIES 6

Deepak Shaerma
Kilo Sage

Hi @Vengeful 

go to Assessment metric definition table under System Definition--> Tables and set the default value for your metric or you can wrote a business rule.
Creating a Business Rule for Conditional Defaults:

1. Go to System Definition > Business Rules.
2. Click New to create a new rule.
3. Set the table to asmt_metric_definition.
4. Configure the rule to run on insert operations.
5. In the “Advanced” script area, set your logic, for example:


// Check if the field is empty and set a default value
if (!current.your_field_name.nil()) {
current.your_field_name = ‘YourDefaultValue’;
}

 

Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help us a lot.
Thanks & Regards 
Deepak Sharma

1__AnithaHV
Kilo Sage

@Vengeful 

Please go through the below link which has the solution for your query.

Default Value in Survey Design - ServiceNow Community

 

Please mark helpful/solution accepted if it solves your query.

GlideFather
Tera Patron

Hi,
there is easier way how to achieve:

1) Go to UI policies and search for "Show and hide default value field" on the table asmt_metric table.

2) Modify its condition to display default value for your required method. (Try removing the condition) and update it.

3) Navigate to asmt_metric table and open your required metric or question. You would now see the default answer field on the form.


Source: comment from sachin_namjoshi - HERE.

Screenshot 2024-03-20 at 10.09.36.png

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */