Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Question on Survey Assessment with computation

Suz Roque
Tera Expert

Hi All,

We have a new requirement where we have to create a new Survey form  to be sent out to user manually based on SN table . The questions will consist of 5 questions and each question choice will have a weight value that will be used as a computation of total. Example below.

 

Question: Is there an OOB feature/ computation we can utilize in SNOW? Or if none, is it okay to just to create a custom script that will compute every record insert in Assessment Instance table?  Thank you

 

Survey Sample

 

Question 1

a. Excellent     10

b. Great.          7

c. Okay.           5

d. Poor            1

 

Question 2

a. Excellent     10

b. Great.          7

c. Okay.           5

d. Poor            1

 

Question 3,4,5

 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Suz Roque 

 

What do you mean omputation we can utilize in SNOW?

 

and it is not SNOW, its SN or ServiceNow.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi Atul,

Our Survey requirement needs to have a computation for example Question 1 answer is Great this should have a score of 7 points, and same for question 2,3,4,5, then the total of 5 questions should be updated to a field in the record.  I know Risk Survey has computation in the background as well. 

Do you think i can utilize script used in Risk Survey?

Hi @Suz Roque 

 

I never tried but yes we can use. Try to build this in API. Bcz the backend fundamental is same. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************