Quantcast
Channel: SCN : Document List - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 571

To Suppress null or Suppress from the queue.

$
0
0

I have gone though many blogs where i haven noticed ways to remove suppress  using UDF but couldn't find much on removing suppress or NULL as a Context change from the queue.

 

Capture.JPG

the above image shows the display queue of a scenario where we have SUPPRESS at context change and we cant use remove context as we cant afford to lose the context.

 

In this scenario the below code will help to remove the SUPPRESS at context change.

Capture.JPG

 

for (int i=0; i<input.length;i++)

   if (input[i].equalsIgnoreCase("")) {

      result.addValue("");

    }else if(input[i].equalsIgnoreCase(ResultList.CC)) {

         if(i>0)

            result.addValue(ResultList.CC);

}

 

Similarly we modify the code as per our requirement and get the required output using the same concept..

We can use similar logic to remove null from the context change.


Viewing all articles
Browse latest Browse all 571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>