cancel
Showing results for 
Search instead for 
Did you mean: 

How to identify SUPPRESS inside a UDF?

Former Member
0 Kudos

Hi,

My values in a queue are as follows from a IF node function:

AAA

BBB

CCC

CCC

SUPPRESS

DDD

EEE

FFF

FFF

SUPPRESS

SUPPRESS

XXX

YYY

ZZZ

ZZZ

i want to add context change instead of SUPPRESS.

How to identify SUPPRESS inside UDF?

thanks and regards

Satish

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

Inside the UDF, Identify ResultList.SUPPRESS and change it to ResultList.CC

regards,

Ramya Shenoy

Former Member
0 Kudos

Hi all

i used mapWithDefauld with a space which helped me solving the problem

thanks and Regards

satish

Former Member
0 Kudos

Hi Satish

try this code



for (int i = 0; i < list.length;i++) {
   if(list<i>.equals(ResultList.SUPRESS){
     ...."Put your code here for supress"
   }
}  

Remember your function should be in queue.

former_member193376
Active Contributor
0 Kudos

Hi

Am passing a value in my queue..run a FOR LOOP

if(value<i>.equals(ResultList.SUPPRESS))

then do whatever you want.

Thanks

Saiyog

former_member181962
Active Contributor
0 Kudos