The CreatorCon Call for Content is officially open! Get started here.

how to call survey page from ui action button..

Abhi95
Mega Expert

how to call survey page from ui action button..?

2 REPLIES 2

brett_karl
ServiceNow Employee
ServiceNow Employee

Navigate to your survey - /nav_to.do?uri=asmt_metric_type.do?sys_id=502a2c44d7211100158ba6859e6103a3%26sysparm_view=survey


Click on the "View Survey URL" Link


After you have this, you can use the action.setRedirectURL call in ServiceNow.



Example (Takes you to the OOB Service Desk Satisfaction Survey):


action.setRedirectURL('/nav_to.do?uri=assessment_take2.do%3Fsysparm_assessable_type=502a2c44d7211100158ba6859e6103a3');



Please let me know if you have any more questions.


Hi Brett,



I have one query related to Surveys. Hope you can provide some help.


issue - trigger ID is blank for about random 30-35 records



a) our Surveys are running on "asmt_assessment_instance" table and not on respective tables like INC / req_item


b) only trigger condition is specified for Incident & requested table with probability of 25 %.


c) no customization done OOB


d) issue is - for last one month there are about 30-35 records for which trigger ID is blank.



what can be the reasons why the issue is occurring or any steps to re produce.



sample blank trigger ID.PNG


thanks


piyush