If you've installed Service Portal, you can use the My Assessments and Surveys widget in Service Portal. Users can view surveys in Service Portal. Service Portal also supports surveys for users on mobile devices that have the Now Mobile app installed. The My Assessments and Surveys widget is available by default on the Service Portal home page.

Surveys in Service Portal

To create an intuitive interface for your users, you can set up surveys in Service Portal . Activate Service Portal to view the My Assessments and Surveys widget, which appears on the Service Portal home page.

To learn more about activating Service Portal, see Activate Service Portal.

To learn more about configuring a widget, see configure widget instances .

To configure a survey widget on a Service Portal page, press the CTRL key, right-click the widget heading, and select Instance Options.
Table 1. Instance options (properties) for the survey widget on Service Portal
Property Description
Max records Maximum number of surveys to list in the widget on the Service Portal home page. Click the View all link to view all surveys.

Default: 5

Title of the widget Text that appears in the title bar of the surveys widget.

Default: My Assessments and Surveys

Figure 1. My Assessments and Surveys widget on the Service Portal home page
My Assessments and Surveys page.

Surveys in the Now Mobile app

Users can view and take the surveys on mobile devices using the My Assessments and Surveys applet launcher that is available by default in the Now Mobile app.

When you assign a survey to a user an email notification about taking the survey is sent to the user. If users have installed the Now Mobile app, a mobile push notification is also sent on mobile devices. Tapping the notification opens an introduction page for a survey in the Mobile Employee Service Portal in the Now Mobile app. The page shows a Get started link. The introduction page and the Get started link are available only if the related settings are enabled. Users can tap the link to view and take the survey. You can activate push notifications by setting the glide.sg.universal_links.enabled system property to true.
Note: A push notification doesn't apply for a triggered survey. For a triggered survey, an event is inserted in the event queue. The event can be configured to determine whether to send a notification or not.
Figure 2. My Assessments and Surveys applet on a mobile device
Mobile survey.
Note: In the Xanadu version, you now see the assessments and surveys assigned in the card view instead of the item view. If you customize the styles of the legacy card item views in older versions of  Assessments and Surveys, the card continues to appear in the item view even after you upgrade to Xanadu. You can view the new card view in Xanadu only if no customizations were made to the legacy cards.
When users open a survey either in Service Portal or the Now Mobile app, the surveys provide the following features:
  • A survey page shows breadcrumb navigation on the Service Portal. Users can click the links in the breadcrumb to navigate to previous pages or a home page. For example, clicking the My Surveys link in the breadcrumb navigates users to a page, which shows a list of all the surveys.
  • When the survey is in progress, the progress bar, which is available on each page of the survey, shows the progress in percentage. The percentage of completion is based on the pages on the survey. For example, suppose that there are three pages of a survey. The third page shows 66% completion of the survey. But giving a response to one of the questions on the third page opens a new question on a separate page, which is the fourth page. The fourth page shows the progress of the survey as 75% completed, which affects the overall progress and page indicators. Users can see the pagination (total number of pages) for the entire survey as well as the current page that the users are on. To hide or show this progress bar, you can use the sn_portal_surveys.sp_survey.show_progress_bar property.
  • Each user response is saved automatically when users move to the next page in the survey. If users don't answer the required survey questions before clicking Next, the page shows an error message at the top for all required and unanswered questions. This error message helps users find the exact location of the unanswered and required question. Any question that is not required and is not responded to before clicking Next is considered answered. The question is counted as completed.
  • When the details of a survey question contain more than four or five lines of text, the text after these lines disappears. In such cases, users can see the complete details by clicking the Show more link. Users can go back to the default behavior by clicking the Show less link.
  • For a question that has the answer options of Yes, No, and Not Applicable, the Not Applicable option appears last in the list of options. The Not Applicable option can be configured while creating a question.

  • When the survey users leave the survey without submitting it, they can start the survey later from the same page where they left off in the previous session.
Note: For mobile users, the pagination is always by question for surveys. For more information about pagination settings, see Configure a survey in the survey designer.

One Click survey

A One Click survey has no introduction page in Service Portal. This survey doesn’t have the Submit and Cancel buttons in the desktop and iPad view.

Note:
  • The One Click Survey is not supported in the mobile device view.
  • The One Click Survey field should be selected in the survey definition.
  • When the public access is enabled for a One Click survey, a user can submit the survey without having to log in.
  • When the public access is enabled for a survey, you can't configure a signature or an attachment for the survey.
  • For a published public survey, the Signature field is hidden and you can’t add an attachment.

A kiosk survey is a One Click survey with only one question of any of the following types:

  • Image Scale
  • Choice
  • Likert Scale
  • Numeric Scale
  • Yes/No
When users click the answer for the kiosk survey question in Service Portal, the survey is submitted, and the end note is displayed on the same page that contains the survey questions. The kiosk survey becomes read-only after it's clicked.
Note:
  • A kiosk survey doesn't have any Submit or Cancel buttons.
  • A kiosk survey can't have a signature, dependent questions, or additional information.
  • A kiosk survey doesn't display introduction notes.

URI parameters for One Click survey

Pass these URI parameters through the createAssessment() API to store their values in the asmt_assessment_instance table for both platform view and Service Portal view.