Customer Survey Default Value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 12:25 AM
Hi,
Where can I modify the Customer Survey default rate?
They want the 5 to be default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 02:01 AM
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’;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 02:02 AM
Note: Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help us a lot.
Thanks & Regards
Deepak Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 02:16 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 03:10 AM
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.
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */