cancel
Showing results for 
Search instead for 
Did you mean: 

UDF TO Supress the node

nisarkhan_n
Active Contributor
0 Kudos

Can somebody send the UDF to Supress the Node

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

Add this statement in ur code

result.addSuppress();

See this

/people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool

Regards,

Prateek

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Add statement result.addSuppress() in your code. However, the UDF should be of type Context or Queue for this, which comes under advanced User Defined Functions.

Bhavish

Former Member
0 Kudos

Hi,

Just attach the <b>UDF without code</b> between source & target element.

but occurance of target element should be 0..1 or 0..unbounded

prasanthi_chavala
Active Contributor
0 Kudos

Hi,

You can use UDF of type queue with below piece of code...

for(int i=0;i<condition;i++)

{

if(XXX<i>.equalsIgnoreCase(" ")){

result.addValue("1");

}else {

result.addValue(ResultList.SUPPRESS);

}

Cheers,

Prasanthi.

Former Member
0 Kudos

result.addSuppress();