regarding Domain Separation scheduled jobs functioning
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
I Have requirement to create scheduled job that runs weekly, we have a custom table 'X', in that we have a stage field and last week stage, we have to run scheduled job every Friday , we need to update last week stage. we have a domain separation in our instance. The below script we wrote in our scheduled job script. but we gettting Row Count = 0, and Weekly stage update. Records updated:0. if we uncomment gr.queryNoDomain(); the scheduled job is not executing. COuld you please help me on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
35m ago
make the scheduled job run as a user/service account that has visibility to the required domains
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader