- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2022 11:25 PM
Hi,
I want to write filter condition of date after 30 days from now, please help me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 12:05 AM - edited ‎12-15-2024 06:11 AM
Hi,
You can achieve it like below, the digit in the image is not clear, I have added it is 29 and 31. The logic here is "Due Date after 29 from today and before 31 days from now" which will give us records where due date is 30(after 29 and before 31 is 30) days.
Let me know if you have any further queries.
Please mark this as Correct or Helpful if it helps.
Regards,
Abhijit
ServiceNow MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 02:17 AM
How can this be used as a query?
for example : sys_created_onRELATIVEGT@dayofweek@ahead@30 this can be used in encoded query???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 02:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 02:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 12:05 AM - edited ‎12-15-2024 06:11 AM
Hi,
You can achieve it like below, the digit in the image is not clear, I have added it is 29 and 31. The logic here is "Due Date after 29 from today and before 31 days from now" which will give us records where due date is 30(after 29 and before 31 is 30) days.
Let me know if you have any further queries.
Please mark this as Correct or Helpful if it helps.
Regards,
Abhijit
ServiceNow MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2022 02:33 AM
Hi,
It is working fine. but 90 days encoded query not working in script.