- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
@Singhdeep70 is there a reason why you are querying specific hard-coded sys_id? Also, it looks like your sys_ids are incorrect. I noticed they both start with "3D" which makes me think they were copied and pasted from your URL which captured the URL-encoded equivalent of the = sign. You can also tell that you sys_id is 34 characters (3D + actual sys_id) instead of the correct 32 character count.
You can verify this outside of the Scheduled Job by going to the individual target table and use the standard condition builder to query for that specific sys_id. If your query returns 0 results you know it's an incorrect sys_id. You can then rerun the query this time removing the "3D" and see if it works.
While this doesn't address the best-practice use-case of hard-coding sys_ids, I hope this solves your problem of why your query isn't working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
what's your business requirement?
are you using the correct sysId?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
This script is for finding pending approvals older than 24 hours for a specific catalog item and then triggering event for notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
did you check if you are using correct sysids?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
