Showing posts with label Scheduling. Show all posts
Showing posts with label Scheduling. Show all posts

Saturday, September 13, 2025

Can a Scheduled Integration in OIC return a value?

Using Scheduled Integrations in OIC to Send Back Values

Can Scheduled Integrations in OIC Send Back Values?

Understanding how Oracle Integration Cloud Scheduled Integrations handle values

🌐 Introduction

Oracle Integration Cloud (OIC) offers multiple ways to design integrations—app-driven, event-driven, and scheduled. One of the most common questions developers and consultants ask is:

“Can a scheduled integration send back a value?”

The short answer is: Yes, but with a different approach.

⚡ How Scheduled Integrations Work

A scheduled integration is designed to run automatically at a defined time using an iCal expression (for example, every day at 12:01 AM). Unlike app-driven integrations, scheduled flows do not wait for a request and return a response. Instead, they are self-triggered.

✅ Can It Send Back a Value?

Absolutely. But instead of returning the value to a caller, a scheduled integration can push the value to a target system, database, or file storage. Here are the common ways:

  • Insert or update the value in a database table
  • Send the value via a REST or SOAP API to another system
  • Write the value into a CSV/XML file on FTP or Object Storage
  • Deliver the value as an email notification
Example Use Case:
A finance team needs a daily “Total Voucher Value” pushed to an ERP system at midnight. A scheduled integration can:
  1. Fetch the transactions from ERP/Database
  2. Calculate the total value
  3. Send the result via REST API or drop it into FTP

🔑 Key Differences vs. App-Driven Integrations

  • App-Driven: Waits for a request → sends response back immediately
  • Scheduled: Runs on a schedule → pushes value to a system, not to a caller

🚀 Benefits of Using Scheduled Integrations

  • Automates repetitive tasks
  • Ensures consistency in reporting or reconciliation
  • Works without user intervention
  • Ideal for nightly jobs, batch processing, and compliance reports

💡 Best Practices

  • Use descriptive names for integrations (e.g., Send_Daily_Values)
  • Log all sent values for auditing
  • Handle failures with error hospital and alerts
  • Test the iCal expression carefully before production deployment

🎯 Conclusion

A scheduled integration in Oracle Integration Cloud cannot return values directly like app-driven integrations. However, it is a powerful tool for sending back values to external systems, databases, or storage in an automated way. This makes it a perfect fit for batch processes, reconciliation tasks, and scheduled reporting.

© 2025 Oracle OIC Insights Blog | All Rights Reserved

Sunday, August 31, 2025

Scheduling Integration in OIC Gen 3 using iCal Expression with Examples

🕒 Mastering Scheduling in Oracle Integration Cloud (OIC): iCal Expressions Made Simple

Oracle Integration Cloud (OIC) empowers businesses to automate processes and connect applications efficiently. A critical part of automation is scheduling—knowing when your integrations should run.

In this post, we’ll break down the different types of scheduling in OIC (especially Gen 3) and show you how to use iCal expressions to set up precise, repeatable schedules.


📌 What Is Scheduling in OIC?

Scheduling in OIC allows you to automatically trigger integrations without manual intervention. Whether it’s running a nightly sync, a weekly report, or a monthly data cleanup, OIC’s built-in scheduler has you covered.

⚙️ Types of Scheduling in OIC

  • Basic Schedule: A simple start time with a frequency (like every day or hour).
  • iCal Expression-based Schedule: More advanced, using iCalendar (RFC 5545) syntax to define exact rules.
  • One-Time Schedule: Runs an integration only once at a specified date and time.

📅 What is an iCal Expression?

An iCal expression is a standardized way to define recurrence rules. In OIC, it helps you set when an integration should run, and how often.

💡 Syntax: FREQ=<frequency>;BYHOUR=<hour>;BYMINUTE=<minute>
---

✅ Common Scheduling Examples Using iCal in OIC Gen 3

🔁 Run Integration Daily at 12:05 AM

FREQ=DAILY;BYHOUR=0;BYMINUTE=5

This triggers the integration every day at 12:05 AM (server time zone or configured time zone).

📅 Run Integration Every Week on Monday at 3:30 PM

FREQ=WEEKLY;BYDAY=MO;BYHOUR=15;BYMINUTE=30

Useful for weekly report generation or batch jobs.

📆 Run on the 1st of Every Month at 6:00 AM

FREQ=MONTHLY;BYMONTHDAY=1;BYHOUR=6;BYMINUTE=0

Perfect for month-start processes like payroll sync or invoicing.

🚫 One-Time Run (No iCal Needed)

Use the One-Time option in OIC UI. This is set manually—no recurrence.

---

⏰ Setting Time Zones in OIC

In OIC Gen 3, time zone is selected when defining your schedule. To ensure your integration runs at Eastern Time (EST/EDT), choose:

America/New_York
---

📈 Why Use iCal in OIC?

  • 🧠 Flexibility in scheduling complex patterns
  • 📆 Alignment with business calendars
  • 🛠 Ideal for integrating with third-party systems
---

🚀 Best Practices for OIC Scheduling

  • ✅ Always set a meaningful integration name and description
  • 🔍 Test the schedule with sample payloads before deploying to PROD
  • 🕵️ Monitor execution via the Monitoring dashboard
  • 📌 Use America/New_York or relevant time zone for business-critical jobs
---

💬 Final Thoughts

Scheduling is at the heart of automation in Oracle Integration Cloud. Whether you're syncing databases, sending alerts, or cleaning data, mastering iCal expressions will give you the power and precision to control when your integrations run.

Got questions or scheduling use cases? Drop a comment below or share this with your Oracle dev team!


This blog is intended for educational and professional use. All trademarks are property of their respective owners.

query to get Shipment number based on Order number

 SELECT DISTINCT     wnd.delivery_name,     wnd.actual_ship_date,     wdd.sales_order_number FROM     wsh_new_deliveries       wnd,     wsh_...

Popular Posts