How to redirect survey page after submitting order guide

Deepthi13
Tera Expert

Hi team,

I have a survey category (asmt_metric_category)- Standard Request Survey, i want to trigger that survey once order guide is raised please suggest

14 REPLIES 14

Service_RNow
Mega Sage

Hi,

Its written under assessment_take2.do . Navigate to UI pages ->assessment_take2.do

 You can see the below code   under the   "processing script"

 

if (selection_result == 'submit') {

   var type = new GlideRecord("asmt_metric_type");

   type.get(type_sysID);

   var url = type.url;

   if (!type.url)

   url = 'assessment_thanks.do?sysparm_assessable_type=' + type_sysID.toString() + '&sysparm_assessment_type=' + type.evaluation_method.getChoiceValue().toLowerCase();

   response.sendRedirect(url);

   }

Hi ram,

got it , currently i want this in mobile view and how can i give the survey URL only to that order guide ?

please suggets

Can i do it in order guide onsubmit client script?

yup. 

 

Please Mark correct or helpful if it helps you.