on 02-19-2008 3:52 AM
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
If a EQUALS b--
> 1
else .............
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
notEquals function is available in Boolean category you can use that, followed by ifThenElse.
Ranjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sharma,
Do the following logic,
A & B ->eQuals->Not-->If then else->Target
in If then Else , then block ->1, else block-->something.
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Try node function creatif
thanq
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.