Skip to Content

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.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply