cancel
Showing results for 
Search instead for 
Did you mean: 

How to do "not equals" mapping using Graphical

Former Member
0 Kudos

Hi friends

i want to do a mapping like this:

if A is not equal to b then value is 1

elseif ...something

Anyone please tell me how can i achieve this using graphical tool.

Thanks

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

If a EQUALS b--


> NOT--


> 1

else .............

Former Member
0 Kudos

Hi,

Use the standard APIs as below

A & B ->NotEquals->If then else--->Target

Its avaialble in Boolean Functions from I think XI 3.0 SP 12 onwards (not sure)

If this function is not available then the above solution suggested by Raj will be better option

"A & B ->eQuals->Not-->If then else->Target"

Thanks

Swarup

ranjit_deshmukh
Active Participant
0 Kudos

notEquals function is available in Boolean category you can use that, followed by ifThenElse.

Ranjit

Former Member
0 Kudos

Hi,

Try doing this,

http://rapidshare.com/files/93054279/Mapping.PNG.html

Here I have used two fields as per your request and got the outcome which you requested.

Regards,

Nithiyanandam

justin_santhanam
Active Contributor
0 Kudos

Sharma,

Do the following logic,

A & B ->eQuals->Not-->If then else->Target

in If then Else , then block ->1, else block-->something.

raj.

Former Member
0 Kudos

Hi.

Try node function creatif

thanq

krishna

Former Member
0 Kudos

Hi,

it is very simple.

Use equals function

A input and second input constant(B) give it to equals function. output will be true or false give it to ifthenelse. inthen use constant(somthing value) ans in else use constant with 1 value and map it to target element.

U can write UDF

if(A.equals("b"))

{

result("something");

}

else

{

result("1");

}

Thnx

Chirag.