Please use docs.servicenow.com for the latest documentation.
This site is for reference purposes only and may not be accurate for the latest ServiceNow version
Wizards
Note: This article applies to Fuji. For more current information, see Wizards at http://docs.servicenow.com
The ServiceNow Wiki is no longer being updated. Visit http://docs.servicenow.com for the latest product documentation. |
Contents
Overview
Administrators can create wizards to provide a step-by-step sequence of dialog boxes that lead the user through a procedure. For example, a wizard may lead users through reporting an incident (creating an incident record) without opening a list or form.
Note: If you intend to create wizards for the purpose of ordering goods and services from the service catalog, we recommend that you use Service Catalog order guides instead of wizards. |
Activating System Wizards
The System Wizards application is not active by default.
To activate system wizards:
- Navigate to System Definition > Applications (pre-Calgary release) or System Definition > Application Menus (Calgary release).
- In the breadcrumbs, click All to display both active and inactive applications.
- Search for System Wizards.
- Ensure the Active field is set to true.
Concepts
Wizards are built on the following concepts:
- Panels - screens that appear in a defined order. Each step in a wizard is represented by a panel. The available panel types are:
- Wizard panel - prompts user to answer questions
- Catalog checkout - displays an order confirmation screen
- Catalog order - displays listings for service catalog items
- KB viewer - displays a knowledge base article
- Record generator - creates a record in a table
- Survey (requires the Survey Wizard plugin)
- Variables - questions that collect and store user input. Variables are defined in a wizard and can included on more than one panel.
- Transitions - define logic used to move between panels. Transition logic may be based on user input.
Creating a Basic Wizard
The following example creates a basic wizard that reports an incident. For more advanced examples, see:
Create the Wizard
Create the wizard:
- Activate the system wizards application, if necessary.
- Navigate to System Wizards > Wizards.
- Click New.
- Enter the wizard Name of Report Incident.
- Right-click the header and select Save.
Define Variables
Note: To learn more, see Defining Wizard Variables. |
Define wizard variables:
- In the Wizard Variable related list, click New.
- Enter the variable details.
- Type: Multiple Choice
- Name: incident
- Question: What are you having difficulties with?
- Right-click the header and select Save.
- In the Question Choices related list, click New.
- Enter Email Issue in the Text and Value fields, and click Submit.
- Repeat steps 4 – 5 for the following question choices:
- Computer Issue
- Password Reset
- In the Wizard Variable related list, click New.
- Enter the variable details and click Submit.
- Type: Wide Single Line Text
- Name: description
- Question: Please describe your symptoms
Create Panels
Note: To learn more, see Wizard Panels. |
Create the first panel:
- In the Wizard Panels related list, click New.
- Select a Type of A panel that prompts the user to answer questions .
- Enter the panel details.
- Name: Service Questions
- Title: Service Desk Wizard
- Right-click the header and select Save.
- In the Variables related list, click Edit....
- Using the slushbucket, select and arrange the variables as listed:
- What are you having difficulties with?
- Please describe your symptoms
- Click Update.
Create the second panel options:
- In the Wizard Panels related list, click New.
- Select a Type of A panel that creates something (like a change request or an incident).
- Enter the panel details and click Submit.
- Name: Email Incident
- Table: Incident [incident]
- Final View: ess
- Right-click the header and select Save.
- In the Field Setters related list, click New.
- Enter the field setter details and click Submit.
- Type: Set field to a variable
- Field: Short description
- Variable: description
- In the Field Setters related list, click New.
- Enter the field setter details and click Submit.
- Type: Set field to a specific value
- Field: Category
- Value: software
- Repeat steps 1 – 8 to create additional panels with the values listed in the table.
Step 3. Panel Name | Step 8. Category Value |
---|---|
Computer Incident | hardware |
Password Incident | network |
Define Transitions
Note: To learn more, see Wizard Transitions. |
Define transitions:
- In the Wizard Panels related list, click Service Questions.
- In the Wizard Panel Transitions related list, click New.
- Enter the transition details and click Submit.
- Repeat steps 2 – 3 for all panel transitions in the table.
Condition | From | To |
---|---|---|
incident is Email Issue | Service Questions | Email Incident |
incident is Computer Issue | Service Questions | Computer Incident |
incident is Password Reset | Service Questions | Password Incident |
Test the Wizard
Run through several scenarios to test transition logic and record generation.
Test the wizard:
- Navigate to System Wizards > Wizards.
- Click Report Incident.
- Click Test.
- Enter the following information and click Next.
- What are you having difficulties with?: Email Issue
- Please describe your symptoms: Can't access email
- Verify that a new record is created and the values match step 4.
- Repeat steps 1 – 5 to test each multiple choice answer.
Publish the Wizard
Note: To learn more, see Publishing Wizards. |
Create a wizard launcher to make the wizard available through the service catalog homepage:
- Navigate to Service Catalog > Wizards.
- If you do not see Wizards under Service Catalog, right-click the Service Catalog application name, click Edit Application Menu, scroll down to the Wizards line, and change the Active setting to true.
- Click New.
- Enter the wizard launcher details and save the record.
- Name - Report an Incident
- Category: Can We Help You?
- Wizard: Report Incident
- Active: select the check box
Advanced Customization
An advantage of wizards is the ability to implement advanced, custom functionality with a user-friendly interface. Create advanced wizards using:
- Wizard UI Policy and Client Scripts - create dynamic effects and validation for wizards, panels, and variables
- Wizard Scripts - run scripts from record generator panels, transitions, and UI policies