How to create a Yes No variable that branches out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 09:33 AM
Hi all,
I'm sorry if this is incredibly basic but I'm having a hard time finding the right terminology. I'm brand new in ServiceNow coming from a much more simplistic platform so bear with me here.
I'm trying to create Yes No variables where when you pick a yes or no you can branch out further from there. Lets say in a very basic form I'd like to do the following:
Is there a timetable for this request?
Yes
No
If yes is selected, I would like a time\date variable to then populate.
If no, nothing needed and the next question would follow.
I'm having a hard time building these multilayer variables and would love any help, or links to some knowledge articles\videos that could walk me through some of this.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 09:41 AM
Hi @GZ-NC
You can create a variable of Type "Yes / No".
Create a UI policy with Condition as Is there a timetable for this request? is Yes. After saving the UI policy, create a UI policy action and select your second variable with Visible flag marked as Yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 09:47 AM
Hey @Swapna Abburi,
Thanks for the response, I wanted to add some more context.
I'm creating a service catalog item for a Service Request that users will be filling out. Does this still apply?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 10:05 AM
Yes, that's right. It applies to catalog item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 09:41 AM
Hi @GZ-NC
Create a ui policy in catalog item and you can achieve this, check this video
ServiceNow UI Policies