- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2022 11:48 PM
im stuck on the last lab:
Create a catalog item
2. Create four mandatory variables to capture workshop date AND time, the workshop location, if a projector is required (yes/no) and the number of chairs required.
a) The location field should reference locations in the system. [cmn_location]
b) When asking about a projector, users should only be able to select Yes or No.
c) Validate the user is entering in a number when asking for the number of chairs
i created all the questions as previewed in the task:
the locations Q is a reference, projector is a yes/no and the number of chairs are asking for a number only
yet i still get the error:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022 01:42 AM
i managed to find the issue
i updated the type to reference and to cmn_location(it was lookup select box)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2022 11:52 PM
Hello,
How did you make fields mandatory ? if from UI policy then make it mandatory from dictionary if made it mandatory from dictionary then use UI policy.
Also, for number field it should be of type Single line text and use regex validation method using below
https://community.servicenow.com/community?id=community_article&sys_id=ebcf2b6edbd7d0103daa1ea668961973
Try these two.
Please hit like and mark my response as correct if that helps
Regards
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022 01:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022 01:42 AM
i managed to find the issue
i updated the type to reference and to cmn_location(it was lookup select box)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2023 02:32 PM
I was having issue on this step as well. I used below mention types for variables and they worked for me.
Workshop date
Question type: Date / Time
Question Subtype: Date & Time
Workshop location
Question type: Choice
Question Subtype: Record Reference
Projector?
Question type: Option
Question Subtype: Yes / No
Number of chairs
Question type: Text
Question Subtype: Single-line
Under Additional details -> Validation -> Number