Scheduling a Business Rule

swapnil15
Tera Contributor

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.

5 REPLIES 5

AJ2025
Tera Contributor

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?