This documentation supports the 23.3 version of BMC Helix Digital Workplace Basic and BMC Helix Digital Workplace Advanced. Icons distinguish capabilities available only for the Advanced and External license levels. For more information, see License types and features.To view an earlier version, select the version from the Product version menu.

Adding questions to a questionnaire


Questionnaires are a set of questions designed to add context to the end users' service requests. As a catalog administrator, internal supplier administrator, or internal supplier, you can configure questionnaires. 

You can select the question type depending on the answer you want from the end users. For example, if you want a close-ended answer from the end users, you can choose a single-select dropdown, radio button, or a toggle type of question. 

You can choose to use the answers in the following ways: 

  • Process-generated questions—Answers to these questions are used as inputs to the associated process.
  • User-generated questions—Answers to these questions are not mapped to process inputs.



Question types and their settings

You can present questions to the end users in different formats depending on the type of answer you expect. For example, you add a radio button type of question when you want end users to select a single option from a given list. 

You must configure the following settings that are common for most question types as well as the specific settings

Settings for most question types

The following settings apply to most question types. Click the setting name to view the description:

Specify the question text that you want to display for the end users. 

If the question you add is generated from a workflow, the value from this field is automatically populated with the process question label value. 

Specify some meaningful context related to the questions that end users see below the Label value. Required. 

To highlight important information and make question descriptions clear and visually appealing, use the following rich text formats: 

  • Bold and Italic fonts
  • Hyperlinks
  • Font size
  • Font color 

Specify whether you want to make a question mandatory. 

Important: You cannot set a required question to read-only. You can set a required question to hidden only if it has a valid default answer.

Specify whether you want to make a question as read-only. 

Important: You cannot set a read-only question to required or hidden.

Specify whether you want to hide the question from the end users. 

Example
You might need to hide a question with a default value to prevent end users from completing the question with a value other than the default value.

Important: You cannot set a required question to hidden unless it has a valid default answer.

Specify whether the answer to this question should be confidential.
By setting a question to confidential, you restrict unauthorized users from viewing answers to confidential questions. Only users who have has confidential data access permission in BMC Helix Digital Workplace can view answers to confidential questions. For more details about this option, see Configuring-confidential-questions-in-a-questionnaire.

Important: 

You cannot set the following question types to confidential:

  • Attachment question
  • Read-only forms (section and description)

Specify keywords for the question to identify the question independently of a specific questionnaire (without referencing internal question IDs). You can enter one or more free text tags, separated by a comma

Internal tags are not visible to end users. You can use these tags internally in BMC Helix Digital Workplace Catalog to indicate questions with special functions. After adding internal tags to questions, you can use these tags in workflows for building required business processes.


Specific settings for all question types

The following table describes the question types, how they are displayed to the end users, and complex settings that you can configure for each question type:

Question type (Form element type)

Display format for end users

Settings for this question type

Settings description

Text area



Displayed as a multiline text area

Text_area.png

Rich Text Format

You can use the following rich text formats:


    • Bold, Italic, and Underline fonts
    • Color selection
    • Text alignment
    • Numbered and bulleted lists
    • Drag-and-drop and copy-and-paste features as well as an image icon to insert up to three images
    • Hyperlinks. These are added in the BMC Helix Digital Workplace Administration console. For more information, see Defining-navigation-through-links-in-pages.

Important: Before enabling this setting, ensure that the Submit Service Request Converting Rich to Plain Text or Submit Service Request With Identifiers Converting Rich To Plain Text action is embedded into your workflow. For more information, see Helix-ITSM-connector.

End users' answers with rich text formatting are supported and retained by BMC Helix Business Workflows. These answers can be seen in request details in BMC Helix Digital Workplace Catalog and are also preserved in email notifications.
In BMC Helix ITSM, answers can be seen in the request details as plain text in the Question Responses section, and inserted images are shown as attachments in the Activity Log section of the Request Entry console. For more information, see Request Entry console.



External Validation (version 22.1.05 and later)

Validates the end user response through a BMC Helix Innovation Studio process. If the validation fails, the system displays an error message.

Note: External validation is not compatible with Rich Text Format, Read Only, Hidden, and Confidential settings.



Regular Expression

Validates the end user responses against a specific format or characters. If a user enters a response that does not match a pattern from the specified regular expression template, the system displays an error message.

Note: Regular expression is incompatible with rich text formatting.

Text field

Displayed as a single line text field.

Single line text field.png


Regular Expression

Validates the end user responses against a specific format or characters. If a user enters a response that does not match a pattern from the specified regular expression template, the system displays an error message.

Example
If you select the Email address template for a text field, the end user response is validated by the system and accepted only if this response contains an @ symbol. Additionally, you can provide a formatting hint that is displayed to end users in error messages if the users enter invalid responses.


External Validation (version 22.1.05 and later)

Validates the end user response through a BMC Helix Innovation Studio process. If the validation fails, the system displays an error message.

Note: External validation is not compatible with Rich Text Format, Read Only, Hidden, and Confidential settings.

Password

Displayed as a single line text field in which the value entered is substituted by asterisks. 

Password.png


Disable Password Encryption

Disables encryption for password type questions. Enable this setting if both of the following conditions are met:

  • If you are using the Password Field question that is generated by a process input variable of the related workflow.
  • The RCF or BMC Helix Integration Service connectors use the process input variable.

Important:

  • A password value is decrypted only by the native BMC Helix Digital Workplace Catalog connectors. 
  • For cases from BMC Helix Business Workflows, the Password question type should only be used in the Questions & Answers section of the Create Ticket action.



Regular Expression

Validates the end user responses against a specific format or characters. 

Important: You must enter a regular expression manually. No templates are available.

Example:

You can define that the password must be a combination of special characters, numbers, and capital letters not exceeding 12 characters.  Additionally, you can provide a formatting hint that is displayed to end users in error messages if the users enter invalid responses.

Toggle


Displayed as a selection question with a Yes or No answer to the question.

Toggle.png


Question values

Specifies the Display value for Yes/ No type of questions. 

  • Default Display value—Yes/ No
  • Default Stored value—true/ false

You can change the Display Value by selectin the radio button next to the value. You cannot change the Stored value. 

File attachment




File attachment override enabled.png

Override file limit (Version 22.1.04 and later).

You can change this setting only for the BMC Helix Digital Workplace Catalog native services, which includes BMC Helix Business Workflows  services. 

If you want to override the global setting of maximum number of files, turn on the Override file limit toggle key.

Specifies the number of files that end users can add with the answer to this question. 

  • Maximum number of files that can be attached by default—3

The global setting is configured in the  BMC Helix Digital Workplace Administration console. For more information, see Updating-the-attachment-settings-and-URI-schemes.

Important: (Version 22.1.04 and later) When attachments are submitted in response to service questions, the work notes added to the fulfillment request with attachments, have the following format for the note value: Attachment from Request Entry - <FILE_NAMES>, where <FILE_NAMES> is a comma-separated list of file names, that are added as attachments to the work log.

One work log is created for every 3 attachments.  

Document

(Version 23.3.02 and later) Displayed as a document attachment. When users click the file name link, the document opens in a new browser tab. It is a PDF file with read-only access and is downloadable for users.

doc type.png

Important: 

When users access the questionnaire from their Android phones and click the file name link, they see the option to download the document first. Then after downloading, they can open the document with a PDF viewer application.


NA

Provides a document file that end users are supposed to read.

For example, you can upload non-disclosure agreements or policies so that users can view them.

As a catalog administrator, you can upload a document that meets the following criteria:

  • File type— PDF
    Only PDF format is supported.
  • File count— One per question. To add multiple documents, add multiple questions.
  • Maximum file size—The default attachment size configuration in the Admin console is 5 MB. However, you can manage this limit.
    For more information, see To set the attachment settings.

The attachments are passed to the fulfillment details. To see where you can access the document attachments, see Reports-and-analysis-of-the-enhanced-service-catalog.

Supported scenarios:

  • Export-import operation is supported.
  • Localization is supported. However, when you select a locale, you need to upload a translated document in PDF format for that locale.

Unsupported scenarios:

  • The document type of question is not supported for the BMC Helix Virtual Agent.
  • Backporting is not supported for the export-import operations. You cannot import the exported service with the attached document from the latest version to versions older than 23.3.02. 

Repeatable Group of Questions  

Displayed as a group of questions to the end user. Users can answer the same group of questions, many times in the same request. The available question types vary by version. 

(Version 23.3.01 and later) Select Check Box, Counter, Date, Dropdown (single select), Dropdown (multi-select), File Attachment, Lookup, Radio Button, Text Field, Text Area, and Toggle question types within a repeatable group.

(Version 23.3 and earlier) Select Counter, Date, Dropdown (single select), Lookup, Radio Button, Text Field, and Toggle question types within a repeatable group.

Note: Repeatable group of questions are incompatible with the Confidential setting.

The following video showcases how a requester answers the same group of questions multiple times, and then an approver views collected answers in a table format. This format helps with efficient data collection and easy review of the response:

Output format

Specifies whether the answers to the questions are saved in a CSV file or an Object format.

Output format for the multi-instance question group



Instance limit

Specifies the maximum number of times a user can answer this group of questions while requesting the service.

Limit the number of times the groups of questions can be answered

Dropdown (single select)


DWP Advanced icon.png BMC Helix Digital Workplace Advanced

Displayed as a list from which users can select one value.

SIngle select dropdown.png


Question values



Specifies a list of values from which an end user can select one value. You can build the values manually or use them from a form or dataset. 

  • Static—Build a set of values manually by specifying the Display value and the Stored Value.
  • Dynamic—Use a list of values from a form or a dataset.
    • Map to Form— Use a list of values from an application form. 
    • Map to Dataset— Use a list of values provided by a compatible system.
    • (Version 23.3.04 and later) Map to Process—Use a list of values retrieved from an external system through a BMC Helix Innovation Studio process.

(Version 23.3.01 and later) The single and multi-select search filter is accent insensitive, can search for all accent marks.

For example, typing ‘quéstiòns’ with exact accents can be inconvenient for the users. Instead, users simply type 'questions', and the list will display the results for ‘quéstiòns’.

For more information, see Creating-selection-menus-for-question-responses.


Dropdown (multi-select)


DWP Advanced icon.png BMC Helix Digital Workplace Advanced

Displayed as a list from which users can select multiple values.

Multi select dropdown.png


Question values

Specifies a list of values from which an end user can select one value. You can build the values manually or use them from a form or dataset. 

  • Static—Build a set of values manually by specifying the Display value and the Stored Value.
  • Dynamic—Use a list of values from a form or a dataset.
    • Map to Form— Use a list of values from an application form. 
    • Map to Dataset— Use a list of values provided by a compatible system.
    • (Version 23.3.04 and later) Map to Process—Use a list of values retrieved from an external system through a BMC Helix Innovation Studio process.

(Version 23.3.01 and later) The single and multi-select search filter is accent insensitive, can search for all accent marks.

For example, typing ‘quéstiòns’ with exact accents can be inconvenient for the users. Instead, users simply type 'questions', and the list will display the results for ‘quéstiòns’.


Checkbox


Displayed as multiple checkboxes that users can select

checkboxes.png


NA

Specifies a list of values from which an end user can select one value. You can build the values manually or use them from a form or dataset.

  • Static - Build a set of values manually by specifying the Display value and the Stored Value.
  • Dynamic - Use a list of values from a form or dataset.
    • Map to Form - Use a list of values from an application form.
    • Map to Dataset - Use a list of values provided by a compatible system.

For more information, see Creating-selection-menus-for-question-responses.



Radio button



Displayed as radio buttons from which users can select one value

radio buttons.png


NA

Lookup



Displayed as a field which prompts end users of possible values for selection when they start typing into the field. End users can select only one value for a lookup question.

Lookup.png


Lookup threshold

Specifies the number of characters that end users must enter before the system begins to prompt selection options based on the query. For more information, see Creating-selection-menus-for-question-responses.

Question values

Specifies a list of values from which an end user can select one value. You can use a list of values from a form. 

  • Map to Form— Use a list of values from an application form. 

Counter

Displayed as a field in which users can click the down arrow or up arrow to select a value, or type the allowed numeric value.

counter.png


Question values

Specifies the minimum value, maximum value, and the step value for the counter. 

Use this question type for answers that should fall within a given range. 

  • Min Value—Minimum allowed numeric value that end users can select. If you do not set the minimum value, the default value -2147483648 is applied.
  • Max Value—Maximum allowed numeric value that end users can select. If you do not set the maximum value, the default value  2147483648 is applied.
  • Step Value—Value used for counting the next value that will be displayed when end users click the up arrow or down arrow. If you leave this field blank, the default value 1 is applied.

Example:

If you set the Step Value to 10, then 10 will be added to the current value every time the user click the up arrow or 10 will be deducted from the current value when the user click the down arrow. If the current value is 25, then the value will be updated to 35 with the up arrow and 15 with the down arrow.  

Notes:

Table (single select)


Displayed as a table from which users can select a single row as an answer to the question.

Single select table.png


Question values

Specifies values in a row and column. You can build the values manually or use them from a form

  • Static—Build a set of values manually by specifying adding rows and columns.
  • Dynamic—Use a list of values from a form.
    • Map to Form— Use a list of values from an application form. 

For more information, see Creating-questions-with-a-table-for-response-selection.


Table (multi-select)


Displayed as a table from which users can select multiple rows as an answer to the question.

Multi select table.png


Date



Displayed as a calendar selection

Date.png


Date Restrictions


Specifies restrictions so that end users can select date and time within the specified range by configuring the following fields:

  • Time Zone—The timezone used for the request window.
    Example: If the timezone is set to Los Angeles 
    (UTC-07:00), the window will end three hours after midnight for someone in New York (UTC -04:00).
  • Window start and Windows end—Sets a time range.
    • No limit—Any date.
    • Question Response—A Date or Date & Time question whose response you want to use for determining a relative date.
      (Optional) Click Add offset and select +/- along with the value and unit of time.
    • Request Date—The date on which the request is raised.
      (Optional) Click Add offset and select +/- along with the value and unit of time.
    • Specific Date—A specific date.

Examples of setting the time range when users can submit a service request

To allow users to submit a request

Window start

Window end

(Default) ....any date

No Limit

No Limit

...only up to a particular date

No Limit

Specific Date

...,only after a particular date

Specific Date

No Limit

...only for a fixed period of time

Specific Date

Specific Date

...at least 7 days in advance

Request Date

Add Offset → + 7 Day

No Limit

...at least 7 days in advance but before a particular date

Request Date

Add Offset → + 7 Day

Specific Date

...not more than 50 days in advance

Request Date

Request Date

Add Offset → + 50 Day

...at least 7 days day in advance, but not more than 50 days in advance

Request Date

Add offset → + 7 Day

Request Date

Add Offset → + 50 Day

...for 15 days from the date specified in a response

Question Response

Question Response

Add offset → + 15 Day

...for 15 days from 2 days after the date specified in a response

Question Response

Add Offset → + 2 Day

Question Response

Add Offset → + 17 Day

Date & Time



Displayed as calendar selection and time selection fields.

Date and time.png


NA

NA

Time


Displayed as a time selection field

Time.png


NA

NA


Tip

Refer the following table to verify whether a setting is supported for your question type:

Supported question types and their settings


Question settings

Question types

Text Area

Text Field

Password

Counter

  • Checkbox
  • Dropdown single select
  • Dropdown multiselect
  • Radio Button
  • Table single select
  • Table multiselect

Lookup

Repeatable Group of Questions
(questions added within a repeatable group of questions)

Toggle

File Attachment

Date

Date & Time

Time

New Section

Description

Rich Text Format

yes.png

remove.png

remove.png

remove.png

remove.png

remove.png

yes.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

Label

yes.png*

yes.png*

yes.png*

yes.png*

yes.png*

yes.png*

yes.png*  

yes.png*

yes.png*

yes.png*

yes.png*

yes.png*

remove.png

Description

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

remove.png

yes.png*

Question Values

remove.png

remove.png

remove.png

yes.png

yes.png

yes.png

yes.png

yes.png

remove.png

remove.png

remove.png

remove.png

remove.png

Default Value

yes.png

yes.png

remove.png

yes.png

remove.png

remove.png

yes.png


remove.png

remove.png

yes.png

remove.png

remove.png

remove.png

Required

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png 

remove.png

yes.png

yes.png

yes.png

remove.png

remove.png

Read Only

yes.png

yes.png

remove.png

yes.png

yes.png

remove.png

yes.png

yes.png

remove.png

yes.png

yes.png

remove.png

remove.png

Hidden

yes.png

yes.png

remove.png

yes.png

yes.png

remove.png

yes.png

yes.png

remove.png

yes.png

yes.png

remove.png

remove.png

Internal Tags

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

remove.png

yes.png

yes.png

remove.png

remove.png

Regular Expression

yes.png

yes.png

yes.png

remove.png

remove.png

remove.png

yes.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

External Validation

yes.png

yes.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

Confidential

yes.png

yes.png

yes.png

yes.png

yes.png

yes.png

remove.png

yes.png

remove.png

yes.png

yes.png

remove.png

remove.png

Disable Password Encryption

remove.png

remove.png

yes.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

Date Restrictions

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

yes.png

remove.png

remove.png

yes.png

remove.png

remove.png

remove.png

Lookup Threshold

remove.png

remove.png

remove.png

remove.png

remove.png

yes.png


 yes.png

remove.png

remove.png

remove.png

remove.png

remove.png

remove.png

 *  The setting is required.

yes.pngThe setting is available for the question form element type.

remove.pngThe setting is not available for the question form element type.


Before you begin

Complete the following tasks if you want to configure the following question types: 

Question type

Task

File attachment

Make sure that the fulfilments do not restrict the attachments. For more information, see Configuring-fulfillment-details-display-in-service-requests

Confidential

Make sure you have configured the Create Ticket activity in a workflow.

Make sure you have configured the BMC-Helix-Innovation-Studio-connector.

Questions types that support regular expressions 

To avoid unresponsive pages or slowing down the system, make sure you refer the Improving the performance of regular expressions post on BMC Community for tips and best practices to form a regular expression. 

If a non-ideal regular expression is used against the default value input, the process takes too long to execute and the BMC Helix Digital Workplace Catalog UI can become unresponsive. 


To add questions to a questionnaire associated with a service

  1. As an administrator, log in to the Catalog console.
  2. Click the Services tab and click Services.
  3. Double-click the service to which you want to add a questionnaire. 
  4. On the Service Options panel, click Edit next to Workflow
  5. On the Workflow & Questions panel, click Edit next to Questions.


  6. In Questions Designer, perform either of the following steps:
    • To add a process question, select a question from the Process Questions list, and click on the + button to add this question onto the canvas.
    • To add a user generated question, click Add next to the User Generated Questions.
  7. In Form element type, select how you want to display the question to end users.
  8. Depending on the form element that you select, configure the common settings and specific settings
  9. Click Save to save the questions to the questionnaire, or click Save as to save the questionnaire with a different name. 


To configure custom validation messages in a questionnaire

(Version 23.3.02 and later) You can configure custom validation messages for end users for the user response fields in the questionnaire. The specific messages help users to take the required corrective action.

Important

The custom validation message is supported for the following question types that have a Regular Expression (regex) setting:

  • PasswordField
  • TextField
  • TextArea
  1. Log in to the Catalog console.
  2. Click the Services tab and click Services.
  3. Double-click the service to which you want to add a questionnaire. 
  4. On the Service Options panel, click Edit next to Workflow
  5. On the Workflow & Questions panel, click Edit next to Questions.
  6. In Questions Designer, perform either of the following steps: 
    • Add a new question. Fill in the relevant details.
    • Click image-2024-4-26_22-1-46.pngon the right corner of the existing question box on the page and select Edit.
  7. On the Question Designer panel, for Error State, select the option you want to configure.
    Custom validation message options
    The default error state is set to System default. To enter a custom message, you need to select either Custom message or System default + custom message error state from the list. You cannot enter a custom message for the System default error state option.

  8. Enter the text for the Error Message you want to configure so that it is displayed as a custom validation message to end users.

    Tip

    You can set a specific language. However, you need to enter a translated custom message. Users can see the localized custom validation message when they log in with that particular localized console.

  9. Click Save.
    Refer to the following example showing a configuration of a custom validation message.

    Personalize regex_ example.png


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*