Skip to main content
Version: Utah

Create the Request Form

Purpose

ServiceNow offers multiple ways to create a user experience for submitting a form. In this exercise, we will learn one quick way to get users off paper forms and emails.

  1. Go to App Home tab, "App home Telework"

  2. On the application homepage, locate the Experience section and click the ⨁ Add icon. relative

    This takes us to a selection where we can identify the type of experience we wish to create.

  3. Select the Record Producer option.

    relative

    info

    A record producer is a specific type of catalog item that allows end users to create records from the service catalog.

  4. This launches the record producer creator.

  5. Click on the Begin button

    relative

  6. Set the following values (💡 double-click, copy & paste into the form).

    Field NameField Value
    (1) NameApply for Telework
    (2) Short DescriptionUse this form to apply for Telework

    (3) Click on the Continue button.

    relative

  7. Click on the Edit record producer button.

    relative

  8. Click on Destination , then type Tel, and select the Telework Case table.

    relative

  9. Click on Location , then under Catalogs, click on Browse.

    relative

  10. Click on Service Catalog , then click on the right arrow to move the item over to the Selected list.

  11. At the bottom, Click on the Save selections button.

    relative

  12. Under Categories , click on Browse.

  13. Move Can We Help You? to the right-hand side and Click on the Save selections button.

    Your screen should look like below. relative

  14. Let's add questions to the form. Click the Continue to Questions button.

    info

    Unlike in a paper-based form, we don't need to ask users to fill personal information like first name, last name, …, or date of request. That information will be automatically attached to the case. This makes filling forms so much faster.

  15. We want to allow users to open a case on behalf of another individual, so let's start by asking users " Who is this request for?" and " When do you need this?"

  16. Click on Questions.

  17. Click the arrow next to Insert new questionthen click "Question set".

    relative

  18. Select "Standard Employee Questions" and click Submit.

    relative

    This will add two frequently asked questions on forms. Click the little arrow on the left to see the questions. relative

  19. One key information we need users to provide is the type of arrangement they are applying for.

    1. Click Insert new question.
    2. For Question type, select Choice.
    3. For Question subtype , select Record reference.

    relative

    1. Scroll down to the Details section.

    2. In the Details section, enter the following information: (💡 double-click, copy & paste into the form).

      Field NameField Value
      Map to a specific fieldWe want to store that information so let's check the box
      Table fieldchoose Arrangement
      Question labelWhat type of Telework arrangement are you applying for?
      MandatoryChecked
      info

      Notice the Question Preview that shows what the question will look like to the user. relative

    3. Click on Continue to Additional details →.

    4. In the Additional details section, set the Source Table to the Arrangement table we imported earlier. as options for this question.

    5. then Click on the Annotation tab.

      relative

    6. Today, the team is spending a lot of time correcting and manually re-routing applications due to people confusing the different types of Telework arrangement. Let's fix that.

    7. We'll use the Annotation tab to provide users with additional instructions for the question.

    8. Check the box Show instructions.

    9. Open the file: telework form annotation.docx.

    10. Copy all the text in the file ( ⌘ Cmd or CTRL+A, CTRL+C )

    11. Paste it into the Annotation section of the Telework Form (⌘ Cmd or CTRL+V ). You can choose to either keep or remove formatting.

    12. Click on the Insert Question button.

    relative

  20. Back to the main form, Click on the Insert Question button.

    relative

  21. When users select the arrangement type Situational , we'll prompt them for the number of days per week.

    a. So, let's go ahead and in the Type section set the following values:

    Field NameField Value
    Question typeText
    Question subtypeSingle line

    relative

    b. Scroll down to the Details section.

    c. In the Details section, enter the following information: (💡 double-click, copy & paste into the form).

    Field NameField Value
    Map to a specific fieldChecked
    Table fieldDays per week
    Question labelNumber of Days per Week?

    d. Click on Additional details.

    relative

    e. In the Additional details section, for the Text validation field, select Number.

    f. Click on the Insert Question button.

  22. Back on the Questions page, we're going to define the dynamic behavior of this question based on the answer to the previous question.

    a. Click on the behavior icon. b. Click on the Define new behavior icon.

    relative

    c. In the Actions tab, we'll specify the behavior we need:

    Field NameField Value
    1. Make the question mandatory | Yes

    2. Make the question visible | Yes

    3. Click on the Conditions tab.

    relative

    d. In the Conditions tab,

    1. Set the filter to [arrangement] [is] [Situational Telework].

    2. Click on the Add behavior button.

    relative

  23. Back on the Questions page, we're going to ask for the reason for Teleworking. Click on the Insert Question button.

    a. In the Type section set the following values:

    Field NameField Value
    Question typeChoice
    Question subtypeDropdown (fixed values)

    relative

    b. Scroll down to the Details section.

    c. In the Details section, enter the following information: (💡 Copy & paste into the form).

    Field NameField Value
    Map to a specific fieldWe want to store that information so let's check the box
    Table fieldchoose Reason
    Question labelWhat is the reason for Teleworking?
    MandatoryChecked

    d. Click on Continue to Choices.

    relative

    e. Check Include none choice.

    relative

    f. In the Available choices section, click the + to insert a new choice. Add the following choices. (💡 Type in the Display Name and the value is created for you).

    Display NameValue
    Medicalmedical
    Dependent Caredependent_care
    Reasonable Accommodationreasonable_accommodation

    f. Click on the Insert Question button.

    relative

  24. Back to the questions page:

    a. Click on the Save button.

    b. Click on Preview.

    relative

  25. The Preview page allows to visualize what our form will look like in different experiences. (You can interact with the item but not submit it).

    MobilePortal
    relativerelative
  26. Close the Preview by clicking on the X on the top right.

    relative

    info

    If you want to preview your catalog item in the Virtual Agent you will need to activate the plugins_ _ Glide Virtual Agent and Service Management Virtual Agent Topic Blocks. Additional setup beyond that is required to get NLU to perform a topic conversation via the Virtual Agent. Feel free to experiment this after completing the entire lab.

  27. Let's publish the form to the Service Portal

    a. Click on Review and Submit. b. Click on the Submit button.

relative

  1. Congratulations. The form is published on your development instance. Click on the Return to my application button.

    relative

  2. Let's see how users can easily find it on the Service Portal

  3. Go to the tab with ServiceNow Admin Home page.

    relative

  4. and then open the Service Portal a. Click All. b. Type Portal. c. Click on Service Portal.

    relative

  5. In the portal, search for "Telework"

    relative

  6. The catalog item is found.

  7. Click on the item to Apply for Telework.

    relative

  8. In the Details section, enter the following information: (💡 double-click, copy & paste into the form).

    Field NameField Value
    a) Who is this request for?David Loo
    b) When do you need this?This week
    c) What type of arrangement?Situational
    d) Number of days per week?3

    e) Click on the Submit button.

    relative

Exercise Recap

In this exercise, we learned how to use App Engine Studio (AES) to easily create customized Catalog Items that users can access in Service Portal and on mobile devices.

Our next exercise will focus on taking the building blocks created to this point and making them actionable to drive automation and process optimization