Using a Switch case in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 09:51 AM
We can use a Switch Case in ServiceNow for multiple testing to test the different values against the same field.
here is the example code, you can start from here to understand basic knowledge.
- 731 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 10:48 AM - edited 11-21-2023 10:48 AM
Hi,
Just checking in to see if you had a question or were you sharing this with others in more of an "article" type concept?
I wasn't sure if you needed any assistance 🙂
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 02:24 AM
Hi Allen,
You are correct, because I am not getting the option in community to post an article so I started from here. If you can help me to find the suitable solution to post an article over the community then it would be great help.