How to redirect survey page after submitting order guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 01:02 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 01:10 AM
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);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 01:30 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 01:32 AM
Can i do it in order guide onsubmit client script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018 01:38 AM
yup.
Please Mark correct or helpful if it helps you.