🔍 Use Case
In Oracle Integration Cloud (OIC), there are scenarios where an integration must run only during a specific part of the month, instead of daily or monthly as a whole.
Example Scenario:
Run a scheduled integration
Execute every day at 9:15 AM
Only for Day 1 to Day 10 of each month
Used for:
Early-month payroll validations
Monthly reports generation
First-10-days billing or reconciliation jobs
The Simple scheduler does not support such complex patterns, so we use iCal expressions.
🛠️ Solution Approach (Using iCal Recurrence)
Oracle OIC supports iCal-based scheduling, which allows precise control over:
Frequency
Monthly - 1 to 10 days
Time - 9:15 AM
✅ iCal Expression to Use
FREQ=MONTHLY;BYMONTHDAY=1,2,3,4,5,6,7,8,9,10;BYHOUR=9;BYMINUTE=15;
🧭 Step-by-Step Configuration in OIC
Go to Integrations >> Schedules >> Open your scheduled integration >> Click Edit Schedule >> Select Define Recurrence → iCal >> Paste the iCal expression:
FREQ=MONTHLY;BYMONTHDAY=1,2,3,4,5,6,7,8,9,10;BYHOUR=9;BYMINUTE=15;
Click Validate Expression
Set:
Start Date (e.g., beginning of the month)
Time Zone (important for correct execution)
Save and Start the Schedule
⏱️ Execution Behavior
Runs daily at 9:15 AM
Executes only from 1st to 10th day
Automatically repeats every month
No manual intervention required

No comments:
Post a Comment