Friday, 15 May 2026

Usage of For-Each and Switch Action Logics in Oracle Integration Cloud

 

For-Each and Switch Action Logics

 

We will choose REST Connection

Choose POST method

Choose Sample JASON

Inline: Provide Request Payload

And then provide the Response Payload in the next

 

For storing the count of integers, we will create variables using Assign action

Add For-Each and insert the repeating element

 

Inside loop add the condition using switch action

It means positive integer

We have to assign action to pdate the positive integer

positiveCount+1

Value <0 then it is negative

 

 

 

Now, it is in configure status

Activate integration

Run integration

 

Testing: