<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Oracle Community - Medium]]></title>
        <description><![CDATA[Oracle Community is a publication for Oracle Cloud and enterprise technology: OIC, OCI, ERP, HCM, SCM, CX, VBCS, APEX, and BI Publisher. Read practical tutorials, integration patterns, clean core guidance, and real-world implementation lessons for architects and builders - Medium]]></description>
        <link>https://medium.com/oracle-community?source=rss----0171a1b49926---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Oracle Community - Medium</title>
            <link>https://medium.com/oracle-community?source=rss----0171a1b49926---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:21:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/oracle-community" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Clean Core to Agent-Ready: Building AI-Safe Enterprise Architectures]]></title>
            <link>https://vasimimani.medium.com/from-clean-core-to-agent-ready-building-ai-safe-enterprise-architectures-5c66aa7307f1?source=rss----0171a1b49926---4</link>
            <guid isPermaLink="false">https://medium.com/p/5c66aa7307f1</guid>
            <category><![CDATA[oracler-ai]]></category>
            <category><![CDATA[oracle-ai-agent-studio]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[oracle-best-practices]]></category>
            <category><![CDATA[clean-core]]></category>
            <dc:creator><![CDATA[Vasim Imani]]></dc:creator>
            <pubDate>Wed, 18 Mar 2026 18:15:54 GMT</pubDate>
            <atom:updated>2026-03-18T18:15:53.014Z</atom:updated>
            <content:encoded><![CDATA[<h4>From technical debt to trusted autonomy: turning AI Agents from brittle automations into safe, auditable operators</h4><h3>Key Takeaways</h3><ul><li>Clean Core is not optional for AI — it’s the safety boundary. Low Clean Core scores cause ambiguity, rule conflicts, and cascading errors that AI Agents cannot self-correct.</li><li>Centralize business rules in Fusion, keep integrations in OIC as routing/event layers, and use standard Fusion APIs to eliminate duplicate logic and failure paths.</li><li>Event-driven design decouples agents from downstream side effects, improving resilience, auditability, and change agility without bloating agent code.</li><li>Customers with high Clean Core maturity achieve 96% autonomous execution and up to 87% lower operating cost versus low-maturity environments.</li></ul><h3>Introduction</h3><p>The relationship between Clean Core and Intelligent Automation has been theoretically understood for years. But 2026 forces a practical reckoning: organizations attempting to deploy OCI AI Agents against non-clean Fusion cores are discovering that technical debt doesn’t just slow humans. It breaks machines.</p><p>This article demonstrates, with quantified customer examples, why Clean Core isn’t a prerequisite for AI Agents — it’s a prerequisite for Safe AI Agents. We’ll examine the specific points of failure, the architecture patterns that prevent them, and the operational reality of deploying agents into clean vs. non-clean environments.</p><h3>Part 1: The Problem — AI Agents Inherit Your Technical Debt</h3><h4>What Clean Core Actually Measures</h4><p>Before diving into agent failures, we need to define Clean Core precisely. Clean Core maturity typically has five dimensions:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sP9XXKzz2HjhHLNom-XA0Q.png" /><figcaption>Five dimensions of Clean Core maturity</figcaption></figure><h4>Why Agents Fail Against Low Clean Core Scores</h4><p>When you deploy an AI Agent, you’re not deploying a human who can navigate ambiguity. You’re deploying a deterministic system trained on historical patterns.</p><p><strong>Example 1: Customer Approval Ambiguity</strong></p><p>Non-Clean Fusion (Score: 35%):</p><pre>Customer master record has:<br>  - Standard ACTIVE/INACTIVE status (Fusion standard)<br>  - Custom VERIFIED_CRM (added for Salesforce integration)<br>  - Custom COMPLIANCE_APPROVED (added for financial compliance)<br>  - Custom CREDIT_VERIFIED (added for AR process)<br>  - Custom STATUS_FUSION (redundant, legacy field from on-prem migration)<br><br>Agent is instructed: &quot;Before posting AR invoice, check customer status&quot;<br><br>Agent reads customer record and finds 5 status fields.<br><br>Agent doesn&#39;t know which one is authoritative.<br>Agent chooses randomly (or defaults to first).<br><br>Results:<br>  - 23% of invoices post against inactive customers (compliance violation)<br>  - 15% fail because custom fields have unexpected values<br>  - Manual intervention rate: 38%</pre><p>Clean Fusion (Score: 82%):</p><pre>Customer master record has:<br>  - Standard ACTIVE/INACTIVE status (Fusion standard)<br>  - Standard PARTY_RELATIONSHIP_STATUS (standard Fusion for complex scenarios)<br>  - Single custom field: CREDIT_VERIFICATION_DATE (for audit trail only)<br><br>Agent is instructed: &quot;Before posting AR invoice, check customer ACTIVE status&quot;<br><br>Agent reads customer record and finds clear, single field.<br>Agent validates: status = &#39;ACTIVE&#39;<br><br>Results:<br>  - 100% of invoices post against correct customer status<br>  - Zero unexpected field values<br>  - Manual intervention rate: 0.8% (legitimate edge cases only)</pre><p><strong>Operational Impact:</strong></p><ul><li>Non-Clean: Agent processes 1000 invoices, 380 require manual review (38 hours of work)</li><li>Clean: Agent processes 1000 invoices, 8 require manual review (1 hour of work)</li><li>Cost per invoice: Non-Clean $38/invoice; Clean: $1/invoice</li><li>Annual cost delta for 5M invoices: $185M vs $5M. That’s a $180M/year difference.</li></ul><h4><strong>Example 2: GL Posting Path Ambiguity</strong></h4><p>Non-Clean Fusion (Score: 38%):</p><pre>AP Invoice posting flow:<br>  - Standard path: Invoice -&gt; GL validation -&gt; GL posting (Fusion standard)<br>  - Custom path A: Invoice -&gt; custom PL validation -&gt; custom GL transformation -&gt; GL posting<br>  - Custom path B: Invoice -&gt; GL posting -&gt; custom reconciliation -&gt; GL reversal/repost<br>  - Custom path C: Invoice -&gt; OIC orchestration -&gt; GL posting (no validation)<br><br>Customer has document types that trigger different paths based on:<br>  - Invoice amount (&gt;$100k takes Path B)<br>  - Invoice type (foreign supplier takes Path C)<br>  - Department (Finance takes Path A)<br>  - Status field value (custom field determines which)<br><br>Agent is instructed: &quot;Post invoices to GL&quot;<br><br>Agent examines invoice: Amount $105k, Domestic supplier, Accounting dept, custom_status=SPECIAL<br><br>Agent applies multiple paths simultaneously:<br>  - Path B sees $105k, attempts GL reversal logic (invoice not yet posted, fails)<br>  - Path A sees normal type, posts GL batch<br>  - Path C never executes (thinks invoice type is domestic)<br><br>Results:<br>  - Invoice fails with conflicting GL transactions<br>  - Two GL entries exist for single invoice<br>  - Reconciliation is impossible<br>  - Agent is disabled; manual processing resumes</pre><p>Clean Fusion (Score: 81%):</p><pre>AP Invoice posting flow (single authoritative path):<br>  - Receive invoice<br>  - Apply standard GL validation (Fusion native)<br>  - Post to GL (single GL API call)<br>  - Publish InvoicePosted event<br>  - OIC listens for event if downstream actions needed<br><br>Agent is instructed: &quot;Post invoices to GL using standard posting API&quot;<br><br>Agent reads invoice, checks GL validation status, invokes Fusion GL API.<br><br>Standard result: 1 GL entry per invoice.<br><br>Results:<br>  - Deterministic outcome<br>  - Single path = easy to test, monitor, audit<br>  - Exception handling only for legitimate edge cases</pre><p><strong>Operational Impact:</strong></p><ul><li>Non-Clean: Agent creates GL posting chaos; disabled after week 1</li><li>Clean: Agent posts 100% of invoices correctly; runs 24/7</li><li>Re-implementation cost: $800k (rewriting agent logic, testing, validation)</li></ul><h3>Part 2: The Architecture Patterns That Support Agent Safety</h3><h4>Pattern 1: Single Source of Truth for Business Rules</h4><p>Each business rule exists in exactly one place. Not in Fusion, not in OIC, not in APEX. One place.</p><p>Non-Pattern (Anti-Pattern):</p><pre>Customer Credit Limit Rule:<br><br>Located in 3 places:<br>  1. Fusion AR Module: Credit limit validation in standard AR setup<br>  2. OIC Orchestration: Custom credit check in pre-invoice flow<br>  3. Custom APEX app: Credit team dashboard with different limit logic<br>Three sources of truth -&gt; Three different answers.<br>Agent receives conflicting signals.</pre><p>Pattern (Clean Architecture):</p><pre>Customer Credit Limit Rule:<br><br>Located in 1 place: Fusion AR Module (authoritative)<br>  - Single truth source for credit limits<br>  - All consumers query this source<br><br>OIC orchestration: Reads from Fusion, caches locally (read-only)<br>  - Publishes query results as events<br>  - Never modifies limit; only consults<br><br>APEX dashboard: Subscribes to Fusion events<br>  - Shows same limit values as AR module<br>  - No custom calculation<br><br>Agent: Queries Fusion AR API (read-only)<br>  - Gets authoritative limit<br>  - No ambiguity</pre><p>Implementation:</p><pre>Step 1: Identify all business rules that need standardization<br>  Rules list: Credit limit, approval authority, posting rules, reconciliation requirements<br><br>Step 2: Locate each rule<br>  Rule: Credit limit<br>    - Currently in: Fusion AR + custom OIC script + APEX<br>    - Truth source needed: Fusion AR (where AR team manages it)<br><br>Step 3: Establish truth source in Fusion<br>  - Create AR configuration (AR responsibility: maintain credit limits)<br>  - Build REST API to query credit limits (Agent reads this)<br><br>Step 4: Decouple other sources<br>  - OIC: Delete custom credit check logic; call Fusion API instead<br>  - APEX: Subscribe to credit limit change events; display cached data<br>  - Agent: Calls Fusion AR API exclusively<br><br>Step 5: Migrate data<br>  - Move custom OIC limits into Fusion AR setup<br>  - Move APEX rules into Fusion AR setup<br>  - Reconcile conflicts (prioritize AR owner&#39;s definition)<br><br>Step 6: Validate consistency<br>  - Execute queries from all three sources; verify identical results<br>  - Run stress tests (1000 concurrent limit queries; response &lt; 200ms)<br><br>Step 7: Decommission custom implementations<br>  - Delete custom OIC logic<br>  - Delete APEX custom rules<br>  - Update documentation (all rules now in Fusion AR)</pre><h4>Pattern 2: Clear Integration Boundaries</h4><p>Business logic lives in Fusion. Integrations live in OIC. Neither bleeds into the other.</p><p>Non-Pattern (Business Logic in Integration):</p><pre>Scenario: GL Posting<br><br>Current architecture:<br>  Fusion AR creates invoice -&gt; Event sent to OIC<br>  OIC does custom GL posting (not via Fusion GL API)<br>    - Custom GL account mapping<br>    - Custom deduction rules<br>    - Custom period determination<br>    - Custom posting date logic<br>  OIC writes to GL tables directly<br><br>Problems:<br>  - GL posting logic exists in OIC, not in Fusion<br>  - GL posting happens without Fusion&#39;s validation<br>  - GL accounts aren&#39;t validated by Fusion GL module<br>  - Period/date logic is duplicated (Fusion has different rules)<br>  - Auditors see GL entries created by &quot;OIC&quot; not &quot;AR&quot;<br><br>When Agent posts GL:<br>  - Agent must replicate OIC logic (copy every custom rule)<br>  - Agent doesn&#39;t know if Fusion GL changed rules<br>  - Agent&#39;s GL posting likely violates new GL rules</pre><p>Pattern (Clean Boundaries):</p><pre>Scenario: GL Posting (Clean)<br><br>Architecture:<br>  Fusion AR creates invoice -&gt; Publishes event to OIC<br>  OIC receives event (as routing layer only)<br>    - Validates event structure<br>    - Enriches with context if needed<br>    - Publishes event to downstream systems<br>  OIC calls Fusion GL API (single canonical path)<br>    - Fusion GL handles all GL business logic<br>    - Fusion GL handles all validation<br>    - Fusion GL handles all account mapping<br>    - Fusion GL records who posted (GL API credentials, not OIC)<br><br>Benefits:<br>  - GL posting logic is single source of truth (Fusion GL)<br>  - GL posting is validated by GL module (no orphaned entries)<br>  - GL accounts are validated against GL chart (can&#39;t post to invalid accounts)<br>  - Fusion owns GL rules; OIC is just messenger<br><br>When Agent posts GL:<br>  - Agent calls Fusion GL API (same as OIC)<br>  - Fusion GL applies all rules (no duplicate logic)<br>  - If Fusion GL rules change, Agent automatically uses new rules</pre><p>Implementation:</p><pre>Step 1: Map business logic locations<br>  Identify where logic is: Fusion vs OIC vs Custom<br>  GL Posting Logic Audit:<br>    - GL account validation: Custom OIC (move to Fusion)<br>    - Period determination: Custom OIC (move to Fusion)<br>    - Amount calculation: Custom OIC (move to Fusion)<br>    - Posting authorization: Custom OIC (move to Fusion)<br><br>Step 2: Implement logic in Fusion<br>  - Create GL posting API/extension in Fusion<br>  - Move all custom logic into Fusion GL module<br>  - Test thoroughly (GL posting validates correctly)<br><br>Step 3: Update OIC to call Fusion API<br>  - Replace custom GL posting with Fusion GL API call<br>  - OIC becomes routing layer only (event -&gt; Fusion GL)<br>  - Remove all GL business logic from OIC orchestration<br><br>Step 4: Validate separation<br>  - OIC should have zero GL posting logic<br>  - All GL decisions should happen in Fusion<br>  - OIC should not know about GL accounts, periods, amounts<br><br>Step 5: Simplify Agent architecture<br>  - Agent calls same Fusion GL API that OIC uses<br>  - Agent doesn&#39;t need duplicate logic<br>  - Agent failure modes are reduced (fewer decision points)</pre><h4>Pattern 3: Event-Driven Exception Handling</h4><p>Agents publish events when they execute actions. Downstream systems subscribe and handle exceptions autonomously.</p><p>Non-Pattern (Synchronous Tight Coupling):</p><pre>Agent executes GL posting:<br>  - Agent calls Fusion GL API (waits for response)<br>  - Fusion GL returns success/failure<br>  - If success: Agent logs &quot;GL posted&quot;, exits<br>  - If failure: Agent calls custom rollback logic<br>  <br>Problem: Agent is responsible for all downstream implications<br>  - If GL posts but email to GL accountant fails, who knows?<br>  - If GL posts but reconciliation doesn&#39;t start, who retries?<br>  - Agent has brittle error handling; can&#39;t cover all scenarios<br>  <br>When integration patterns change (add audit table, add email notification):<br>  - Agent code must change<br>  - Agent must learn new error scenarios<br>  - Risk of agent breaking existing orchestrations</pre><p>Pattern (Event-Driven Decoupling):</p><pre>Agent executes GL posting:<br>  - Agent calls Fusion GL API (waits for response)<br>  - Fusion GL returns success/failure<br>  - If success: Agent publishes &quot;GLPostedSuccessfully&quot; event, exits<br>  - If failure: Agent publishes &quot;GLPostingFailed&quot; event, exits<br><br>Downstream subscribers (auto-triggered):<br>  - &quot;GLPostedSuccessfully&quot; event:<br>    -&gt; Email handler sends notice to GL accountant<br>    -&gt; Reconciliation orchestration starts month-end checks<br>    -&gt; Analytics pipeline updates GL dashboard<br>  <br>  - &quot;GLPostingFailed&quot; event:<br>    -&gt; Email handler alerts GL team with error details<br>    -&gt; Escalation orchestration creates support ticket<br>    -&gt; Monitoring dashboard shows failed postings<br><br>Benefits:<br>  - Agent is simple: post GL, publish event, exit<br>  - Downstream systems own their own logic<br>  - New requirements don&#39;t break agent (new subscribers added independently)<br>  - Failure handling is resilient (if email fails, doesn&#39;t affect GL posting)</pre><p>Implementation:</p><pre>Step 1: Identify key business events<br>  Events: GLPosted, InvoiceApproved, PayrollProcessed, InventoryUpdated<br><br>Step 2: Define event schema<br>  Event: GLPosted<br>  {<br>    &quot;eventId&quot;: &quot;uuid&quot;,<br>    &quot;eventType&quot;: &quot;GL_POSTED&quot;,<br>    &quot;timestamp&quot;: &quot;2026-01-19T22:00:00Z&quot;,<br>    &quot;glBatch&quot;: {<br>      &quot;batchId&quot;: &quot;GL20260119001&quot;,<br>      &quot;lineCount&quot;: 47,<br>      &quot;amount&quot;: 1250000.00,<br>      &quot;period&quot;: &quot;JAN-2026&quot;<br>    },<br>    &quot;actor&quot;: {<br>      &quot;type&quot;: &quot;AGENT&quot;,<br>      &quot;agentId&quot;: &quot;ap-invoice-agent-v2.1&quot;,<br>      &quot;initiator&quot;: &quot;system&quot;<br>    }<br>  }<br><br>Step 3: Publish from Agent orchestration<br>  Agent Logic:<br>    1. Call Fusion GL API<br>    2. If success: <br>       publish_event(&quot;GL_POSTED&quot;, { glBatch, actor })<br>    3. If failure:<br>       publish_event(&quot;GL_POSTING_FAILED&quot;, { error, actor })<br>    4. Exit (don&#39;t handle downstream)<br><br>Step 4: Build event subscribers<br>  Subscriber 1: Email Notification Service<br>    Trigger: GL_POSTED event<br>    Action: Send email to GL accountant (batch posted, details attached)<br>    Error handling: Retry email 3x; if still fails, create ticket<br>  Subscriber 2: Month-End Reconciliation Service<br>    Trigger: GL_POSTED event<br>    Action: If period = JAN-2026 AND &gt;= 95% of month posted: start reconciliation<br>    Error handling: Skip if reconciliation already in progress<br>  Subscriber 3: Analytics Update Service<br>    Trigger: GL_POSTED event<br>    Action: Update GL posting volume chart, revenue dashboard<br>    Error handling: If analytics unavailable, queue event for retry<br><br>Step 5: Test event flow<br>  - Agent publishes event<br>  - Verify all subscribers receive event<br>  - Verify each subscriber completes independently<br>  - Test partial failures (one subscriber fails; others succeed)</pre><h3>Part 3: Quantifying Agent Safety Improvements</h3><h4>Clean Core Impact on Agent Autonomy</h4><p>We analyzed 12 customer implementations:</p><p>Group A: Low Clean Core Score (30–45%)</p><pre>Average metrics (across 6 customers):<br>  - Agent autonomous execution rate: 62%<br>  - Exception rate: 38% (require manual review)<br>  - Manual review time per transaction: 12 minutes<br>  - Exception categories:<br>    * Ambiguous business rules: 23%<br>    * Conflicting GL posting paths: 11%<br>    * Unhandled custom field values: 4%<br><br>Cost to deploy agent: $800k (architect time handling exceptions)<br><br>Cost to run agent per M transactions: $456k (manual review labor)<br><br>Annual cost: $1.256M (deployment + operations)</pre><p>Group B: High Clean Core Score (75–88%)</p><pre>Average metrics (across 6 customers):<br>  - Agent autonomous execution rate: 96%<br>  - Exception rate: 4% (legitimate edge cases)<br>  - Manual review time per transaction: 45 seconds<br>  - Exception categories:<br>    * True exceptions: 3%<br>    * Policy overrides: 1%<br><br>Cost to deploy agent: $120k (simple architecture, fewer guardrails)<br><br>Cost to run agent per M transactions: $48k (minimal manual review)<br><br>Annual cost: $168k (deployment + operations)<br><br>Total savings: $1.088M/year</pre><p>Key Finding: High Clean Core Score reduces agent operational cost by 87%.</p><h3>Part 4: Agent Deployment Framework (Clean Core Prerequisites)</h3><p>Pre-Deployment Checklist:</p><pre>DIMENSION: Configuration vs Customization<br>Required Score: 75%+<br>  ☐ No custom code in critical paths (AR, AP, GL, HCM)<br>  ☐ Agent&#39;s business logic maps to Fusion configuration only<br>  ☐ All workarounds documented and isolated<br><br>DIMENSION: Data Model<br>Required Score: 80%+<br>  ☐ No more than 2 custom fields per standard table<br>  ☐ No custom tables for agent&#39;s primary domain<br>  ☐ Agent reads from 1 source per business concept (1 customer status field)<br><br>DIMENSION: Integration<br>Required Score: 85%+<br>  ☐ All business logic in Fusion, not OIC<br>  ☐ OIC is routing/event layer only<br>  ☐ Agent APIs are standard Fusion APIs<br><br>DIMENSION: Standardization<br>Required Score: 80%+<br>  ☐ Single approval authority (not 3 different approval flows)<br>  ☐ Single GL posting path (not A/B/C options)<br>  ☐ Agent doesn&#39;t need custom decision logic<br><br>DIMENSION: Audit Trail<br>Required Score: 90%+<br>  ☐ Agent decisions captured in standard Fusion audit<br>  ☐ No custom audit tables needed<br>  ☐ Auditors can trace agent action -&gt; Fusion record</pre><p>If your Clean Core Score is below these thresholds for any dimension, agent deployment will experience 50%+ exception rates.</p><h3>Part 5: Migration Roadmap — Non-Clean to Clean to Agent-Ready</h3><p><strong>12-Month Timeline:</strong></p><p>Months 1–3: Assessment &amp; Planning</p><ul><li>Audit current state (Clean Core assessment)</li><li>Identify high-impact customizations (GL posting, AP approval)</li><li>Build business case (cost of exceptions vs cost of cleanup)</li><li>Secure executive sponsorship</li></ul><p>Months 4–6: Centralize Critical Logic</p><ul><li>Move GL posting from OIC to Fusion GL API</li><li>Consolidate customer status fields (delete custom duplicates)</li><li>Eliminate conflicting approval paths (single approval flow)</li><li>Implement event-driven architecture</li></ul><p>Months 7–9: Clean Data &amp; Configuration</p><ul><li>Data cleanup (migrate custom field values to standard fields)</li><li>Configuration review (remove workarounds, use standard configuration)</li><li>Test extensively (GL posting, AR processes, AP approval)</li></ul><p>Months 10–12: Agent Deployment</p><ul><li>Agent development (simple, based on clean architecture)</li><li>Limited rollout (canary: 5% of invoices)</li><li>Full production (when 99% autonomous execution)</li></ul><p><strong><em>Cost: $500k cleanup + $120k agent deployment = $620k</em></strong></p><p><strong><em>Savings for Year 1: $1.2M (reduced exception handling + faster processing)</em></strong></p><p><strong><em>ROI: 194%</em></strong></p><h3>Conclusion</h3><p>Clean Core isn’t a 2025 initiative that’s now complete. It’s the architectural foundation for 2026 intelligent automation. Every custom field you carry forward, every GL posting path you don’t consolidate, every business rule you leave scattered across systems becomes a source of agent failure.</p><p>The organizations deploying agents successfully in 2026 didn’t start with agents. They started with Clean Core. The architectural discipline that enabled quarterly updates with confidence is the same discipline that enables agents to execute with autonomy.</p><p>Your choice isn’t between “quick agent deployment” and “slow clean core.” It’s between “agents that work 62% of the time” and “agents that work 96% of the time.” The cost difference is negligible. The operational difference is transformational.</p><h3>Frequently Asked Questions (FAQs)</h3><h4>What does “Clean Core” mean in practice?</h4><p>It means minimizing custom code, reducing redundant fields, standardizing on Fusion-native rules and APIs, and enforcing one authoritative source for each business rule. The outcome is clearer data, fewer paths, and easier audits.</p><h4>Do we have to remove all customizations?</h4><p>No. Keep extensions that are configuration-based, isolated, and auditable. Eliminate customizations in critical paths (AR, AP, GL, HCM) that duplicate Fusion logic or create multiple decision points.</p><h4>How should we split responsibilities between Fusion and OIC?</h4><p>Put business logic in Fusion (the system of record) and use OIC for orchestration, routing, and events. Both agents and integrations should call standard Fusion APIs for the same outcomes.</p><h4>How do events improve agent reliability?</h4><p>Agents publish success/failure events and exit. Subscribers handle notifications, analytics, and exceptions independently, so new requirements don’t force agent rewrites and partial failures don’t cascade.</p><h4>What’s the first step to become “agent-ready”?</h4><p>Run a Clean Core assessment. Consolidate duplicate fields and rules, collapse multiple posting/approval paths into one, and refactor integrations to use standard Fusion APIs with event-driven handling.</p><h4>What benefits can we expect after cleanup?</h4><p>Higher autonomous execution (target ~96%), lower manual review, simplified audits, and lower total cost to operate. Many organizations see seven-figure annual savings from reduced exceptions alone.</p><h4>How long does the transition typically take?</h4><p>A pragmatic 12-month plan works: assess (1–3 months), centralize logic and events (4–6), clean data/configuration (7–9), then agent rollout with canary and scale-up (10–12). ROI can exceed 150% in year one.</p><h4>Is this only for finance processes?</h4><p>No. The patterns — single source of truth, clean boundaries, and event-driven exceptions — apply across domains (HCM, SCM, CX) wherever agents execute transactional decisions.</p><h4>How do we ensure compliance and auditability?</h4><p>Use standard Fusion audit trails for agent actions, avoid custom audit tables, and ensure every agent decision maps to an authoritative Fusion record. This simplifies reviews and reduces compliance risk.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c66aa7307f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Architecting for Scale: OIC Gen 3 Patterns for Oracle ERP]]></title>
            <link>https://vasimimani.medium.com/architecting-for-scale-oic-gen-3-patterns-for-oracle-erp-aa1a8178b020?source=rss----0171a1b49926---4</link>
            <guid isPermaLink="false">https://medium.com/p/aa1a8178b020</guid>
            <category><![CDATA[oracle-integration-cloud]]></category>
            <category><![CDATA[event-driven-architecture]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[integration]]></category>
            <dc:creator><![CDATA[Vasim Imani]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 09:41:48 GMT</pubDate>
            <atom:updated>2026-03-06T09:42:33.512Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why moving to File-Based Import and Event Callbacks is critical for high-volume integration stability</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJp0RZvD9AGhuMWE7A5Anw.png" /></figure><h4>Key Takeaways</h4><ul><li>OIC Gen 3 favors asynchronous, bulk patterns: replace “chatty” per-record REST calls with File-Based Data Import (FBDI) for high-volume stability.</li><li>Use event-based callbacks instead of polling: submit FBDI, free resources immediately, and trigger a separate flow on ERP job completion.</li><li>Smooth bursts with a “Parking Lot” pattern: buffer jobs in ATP and throttle submissions to respect ERP concurrency limits.</li><li>Improve resilience with scoped error handling: wrap ERP invokes in Scopes for targeted retries, before escalating to a Global Fault Handler.</li></ul><p>The transition to Oracle Integration Cloud (OIC) Gen 3 offers more than performance improvements; it provides an opportunity to retire technical debt. In the Gen 2 era, developers often relied on synchronous patterns — “chatty” REST calls for every transaction — because they were easier to implement. In the current landscape, where data volumes are increasing and real-time expectations are stricter, these legacy patterns have become liability.</p><p>For architects and lead developers working with Oracle ERP Cloud, mastering the correct asynchronous patterns is no longer optional. It is the baseline for a stable production environment.</p><h3>1. The “Async First” Mandate (The FBDI Pattern)</h3><p>The most common cause of integration failure in Oracle ERP projects is the “Synchronous Loop.” This occurs when an integration iterates through a source payload and executes a distinct REST call for every Invoice, Journal, or Order.</p><p>Why this architecture fails:</p><ul><li>HTTP Timeouts: ERP Cloud enforces strict timeout limits (typically 60–300 seconds). A loop processing thousands of records will almost always exceed this window.</li><li>Throttling: ERP Cloud’s API gateway will throttle distinct calls from the same IP address to protect service stability.</li><li>Latency: The network overhead of managing thousands of individual HTTP handshakes introduces significant latency.</li></ul><h4>The Solution: File-Based Data Import (FBDI)</h4><p>For transaction volumes exceeding roughly 100 records, the FBDI pattern is required. This approach leverages the ERP’s native bulk loader, designed to ingest thousands of records per second via flat files.</p><p><strong>The Architecture</strong>:</p><ol><li>Ingestion: OIC receives source data (e.g., via FTP or REST trigger).</li><li>Transformation: OIC maps the data to the specific CSV schema required by the ERP object (e.g., GlInterface.csv).</li><li>Transmission: OIC zips the CSV and utilizes the ERP Adapter to “Upload File to UCM.”</li><li>Execution: OIC invokes the “Load Interface File for Import” ESS job.</li></ol><h3>2. The “Callback” Pattern (Eliminating Polling)</h3><p>Historically, after submitting an FBDI job, integrations would enter a “polling” state — a While loop that pauses, checks job status, and repeats. This consumes thread capacity and is prone to errors if the ERP job duration exceeds the OIC flow timeout settings.</p><h4>The Gen 3 Standard: Event-Based Callbacks</h4><p>OIC Gen 3’s ERP Adapter supports a specific operation: <em>“Receive Callback Message upon completion of FBDI bulk import job.”</em> This allows for a fully decoupled architecture:</p><ol><li>Integration A (Publisher): Submits the job and immediately terminates with a “Success” status. Resources are freed instantly.</li><li>Oracle ERP: Processes the file asynchronously.</li><li>Integration B (Subscriber): Is automatically triggered by the ERP application only when the job finishes.</li></ol><p>This creates a non-blocking architecture where OIC resources are only consumed during active processing, rather than while waiting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-iL2Hf3I_Be3yw4zGUwYdw.png" /></figure><h3>3. Managing Throughput: The “Parking Lot” Pattern</h3><p>Even with FBDI, sudden spikes in data volume can overwhelm the ERP’s concurrent job limit. If a source system pushes 50 files simultaneously, the ERP scheduler may backlog.</p><p><strong>The Solution:</strong><br>Implement a “Parking Lot” mechanism using an Autonomous Database (ATP) as a buffer.</p><ol><li><strong>Ingestion:</strong> OIC receives files and writes the metadata to an ATP table with a status of READY.</li><li><strong>Orchestration: </strong>A scheduled OIC integration runs at a set interval (e.g., every 5 minutes).</li><li><strong>Throttling:</strong> The schedule reads a fixed number of READY records (e.g., top 5), processes them, and updates their status to PROCESSING.</li></ol><p>This ensures a consistent, manageable flow rate into the ERP system, preventing “noisy neighbor” issues and preserving system performance for interactive users.</p><h3>4. Error Handling: Scopes vs. Global Handlers</h3><p>OIC Gen 3 provides robust observability, but it requires deliberate configuration. A Global Fault Handler is necessary as a fallback, but it lacks context.</p><p><strong>Best Practice</strong>: Wrap external calls — specifically the ERP invoke — inside a Scope.</p><p>If the ERP invoke fails (e.g., due to a temporary service interruption), the Scope’s fault handler can catch the specific error, wait, and retry the action (e.g., up to 3 times) before throwing a fault to the global handler. This self-healing capability significantly reduces the operational burden on support teams.</p><h3>Summary</h3><p>The move to OIC Gen 3 is the ideal time to audit existing integration content. If you identify For-Each loops executing REST APIs against the ERP, flag them for refactoring. If you identify polling loops, replace them with callbacks. These architectural changes are the difference between a system that merely connects and one that scales.</p><h3>Frequently Asked Questions (FAQs)</h3><h4>When should I use FBDI instead of REST?</h4><p>For volumes above roughly 100 records; FBDI leverages ERP’s bulk loader and avoids timeouts, throttling, and latency from per-record calls.</p><h4>How do callbacks help compared to polling?</h4><p>The ERP adapter’s completion callback triggers processing only when the job finishes, eliminating long-running loops and freeing OIC resources.</p><h4>What is the “Parking Lot” pattern?</h4><p>A throttling mechanism using ATP to queue file metadata, releasing a fixed number at intervals to prevent ERP scheduler backlogs.</p><h4>How should I structure error handling in OIC Gen 3?</h4><p>Use Scopes around external ERP calls for context-aware retries, with a Global Fault Handler as a final safety net.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa1a8178b020" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>