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.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |