My Oracle Support Banner

Skip Activity Not Working As Expected In OSB Pipeline (Doc ID 2659492.1)

Last updated on OCTOBER 21, 2021

Applies to:

Oracle Service Bus - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Goal

On : 12.2.1.3.0 version, OSB Core Functionality

Skip activity not working as expected in OSB Pipeline

We have code implemented as below where there is a Pipeline. Within a pipeline there is a STAGE. And within the STAGE there is a for loop. And finally, within the for loop, there is a service callout.
Inside the Service Callout's Response Pipeline, there is a SKIP activity along with a Condition.

As shown below
Pipeline -- > Stage -- > for loop --> service callout (with Skip activity in response and a condition to skp)

If the Condition Passes, the SKIP activity is supposed to execute and the execution should skip the STAGE.
However, what we are seeing is that the SKIP activity helps in skipping the Service Callout but not the for loop and STAGE itself.
Ideally, it should skip the entire STAGE as we have SKIP activity inside Service Callout which is inside the STAGE.

In other words, SKIP is not exiting the immediate enclosing stage.

In the following document link, it is mentioned that the SKIP activity will skip the stage
https://docs.oracle.com/en/middleware/soa-suite/service-bus/12.2.1.3/develop/working-pipeline-actions-oracle-service-bus-console.html#GUID-49921FF1-FCA0-452B-A9ED-148FA621A590

14.16 Adding Skip Actions in the Console
Use the skip action to specify that at runtime, the execution of this stage is skipped and the processing proceeds to the next stage in the pipeline. This action has no parameters and can be used in the request, response or error pipelines.

It is also nowhere mentioned that the Service Callout behaves like its own stage.
https://docs.oracle.com/en/middleware/soa-suite/service-bus/12.2.1.3/develop/working-pipeline-actions-oracle-service-bus-console.html#GUID-6FB89558-B59F-4E3E-A064-9A7305458E92
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.