- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 03:55 AM
Hello,
How can I check for two values of one property of incident with sysparm_query
example: filter all Incidents by incident_state=1 or incident_state=2
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 03:59 AM
Hi Mihaela,
You can use this query or URL
Replace instance name with your instance
sysparm_query=incident_state=1^ORincident_state=2
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 03:59 AM
Hi Mihaela,
You can use this query or URL
Replace instance name with your instance
sysparm_query=incident_state=1^ORincident_state=2
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 04:00 AM
Hi Mihaela,
Please use sysparm_query=incident_stateIN1,2.
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 04:04 AM
Thbak you vary much very helpful and working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2017 04:06 AM
If any of the above responses have answered your question, please mark it as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
https://community.servicenow.com/docs/DOC-5601
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response