How to create Time field in Record Producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
How to create Time field in Record Producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Just following up to see whether my suggested link worked for you.
If you're still facing any issues, I'd be happy to help further.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @manthenamah
ServiceNow does not have a native Time-only variable type,
You can follow this alternative step-by-step approach to validate a 24-hour time format (HH:MM)
1: Create the Variable
- Open your Record Producer in the Service Catalog.
- Under the Variables related list, click New.
- Set the Type to Single Line Text and name the field
- Enter your Question (e.g., "Enter the time (HH:MM)").
2: Add Regex Validation
- Switch to the Type Specifications tab on the variable form.
- In the Validation regex field, create or select a Regex that enforces the HH:MM format.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @manthenamah, I'm curious about your use case for only wanting to capture time and not date & time - are you able to share any details?
☕ Powered by caffeine, curiosity, and more failed attempts than I'd like to admit