Wednesday, April 1, 2020

Finding distinct in Oracle OIC - Oracle Integration Cloud / ICS

There is no function available in Oracle Integration Cloud to find distinct of node values.

distinct function can be used in xsl , but that can be done from backend only which may invalid the mapper sometime.

We can use the following to get rid of repetitions / find distinct.

This needs to be applied in the xsl . Will post the examples shortly.

[not(nsmpr7:LOC=preceding::*)]


$StageRead/nsmpr2:ReadResponse/nsmpr4:RecordSet/nsmpr4:HeaderRecord[not(nsmpr4:SequenceNumber=preceding::*)]  --> This will pick HeaderRecord for distinct SequenceNumber

$ReadInChunk/nsmpr4:ReadResponse/nsmpr7:RecSet/nsmpr7:Rec[not(nsmpr7:LOC=preceding::*)] --> This will pick HeaderRecord for distinct LOC

No comments:

Post a Comment

Oracle OIC Email Notification Template

 Oracle HTML template for email notification <html> <body style="margin: 0px; background-color: rgb(226, 229, 232);"> ...