Scheduling a Business Rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 03:38 AM
Hi there,
I need help with scheduling the run of a BR (Business Rule) on specific days and times. I have attached the BR and a schedule that I've already created in the system. The requirement is to run the BR from Monday to Friday, between 7 am to 7 pm, excluding bank holidays.
I've created a schedule named ' *- 7.00 AM to 7.00 PM - Monday to Friday (UTC) - (Excluding Bank Holidays)' and I want to know the best way to call the BR using this schedule. Or if there is any other way to handle this?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2025 03:58 PM
I also have a similar requirement. I have a scheduled job in global scope. It needs to access GlideSchedule methods which is a scoped API. Currently scheduled job just fails to run the schedule.add method. I think this is a scope issue.
May be I could have a business rule that could be scheduled to run at 8 pm every night and access this scoped API.
Any thoughts?