Struggling with ITSM simulator lab:Create a catalog item

Lior Kaitel
Tera Guru

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:

Does your question text match the requirement as shown in the instructions? Are each of the variable...

 

1 ACCEPTED SOLUTION

Lior Kaitel
Tera Guru

i managed to find the issue

i updated the type to reference and to cmn_location(it was lookup select box)

find_real_file.png

View solution in original post

6 REPLIES 6

Musab Rasheed
Tera Sage
Tera Sage

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

 

Please hit like and mark my response as correct if that helps
Regards,
Musab

Lior Kaitel
Tera Guru

i made the fields mandatory from the catalog builder

find_real_file.png

and i used already the regex validation for a number

find_real_file.png

any idea why it is still not working?

Lior Kaitel
Tera Guru

i managed to find the issue

i updated the type to reference and to cmn_location(it was lookup select box)

find_real_file.png

Community Alums
Not applicable

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

 

 

HumaSaleem_0-1693776420981.png