- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 07:54 AM
I have a scheduled job to trigger notifications on the le_case table. I tried to run job as system admin, myself who has admin access and user that has le_case table read/write access. The job runs but fails to retrieve data even though there is matching data. What can be done to fix this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 08:36 AM
Run this script on fix script and see how much count you are getting using the getRowCount() method.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 08:29 AM
Hello @samadam ,
Debug this script. I think the query is not matching, hence your job is not running.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 08:31 AM
I have matching records. I made sure that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 08:36 AM
Run this script on fix script and see how much count you are getting using the getRowCount() method.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 08:57 AM
Are you creating scheduled job in the same scope as table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 09:00 AM
Hello @samadam
If you can share the scheduled job script and also share if it is a domain separated instance then it will be helpful to understand the complete issue.
You can also achieve the same via flow using Send Notification Action and keep your notification Send When Triggered.
Hope that helps!