Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-ServiceNowIncident with sys_created_on #94

Closed
ghost opened this issue Oct 3, 2019 · 1 comment
Closed

Get-ServiceNowIncident with sys_created_on #94

ghost opened this issue Oct 3, 2019 · 1 comment
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Oct 3, 2019

Is there a way to request only incidents created on or after a certain date?

Was thinking that -MatchExact could be used with some sort of greater than or equal to thing.

@Rick-2CA
Copy link
Member

Rick-2CA commented Oct 3, 2019

#68 covers this topic. The module doesn't support this feature today.

active=true^state!=6^sys_created_onBETWEENjavascript:gs.dateGenerate('2016-10-01','00:00:00')@javascript:gs.dateGenerate('2016-12-01','23:59:59')

That's an example format of what the query string needs to look like if you were to attempt to integrate it into what you need manually. At least until we get time to plan out an integration that makes sense for the module.

@Rick-2CA Rick-2CA self-assigned this Oct 3, 2019
@Rick-2CA Rick-2CA closed this as completed Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant