on 03-20-2009 1:53 AM
Hi
Can anyone give the graphical mapping for the If then Else condition
If Date1 <> 0
Move T to Var1
else
Move F to Var1
Thanks
PR
Edited by: PR on Mar 19, 2009 9:53 PM
Thanks
PR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, as mentioned above best way for this problem is to use the "Fixed Value Table". Maintain the values in fixed value table and then you don't have to use any conditions. Mapping will be simple 1 to 1 like this..
Values in Fixed Value Table
Key Value (default is F)
0 T
Date1 ---> Fixed Value Table ---> Var1
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello PR,
below is the message mapping.
/ns0:mt_t_test=/ns0:mt_s_test /ns0:mt_t_test/var1=iF(const(value=T), stringEquals(/ns0:mt_s_test/date1, const(value=0)), const(value=F))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use the IF else funtion and the contants like this and do the mapping between the source and target field
Date> equalsS-> Constant <0>-->IF>THEN--
Regards,
Nithiyanandam
Edited by: Nithiyanandam A.U. on Mar 20, 2009 5:30 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi
>
> Can anyone give the graphical mapping for the If then Else condition
>
> If Date1 <> 0
> Move T to Var1
> else
> Move F to Var1
>
>
> Thanks
> PR
>
> Edited by: PR on Mar 19, 2009 9:53 PM
source field DATE1 -> then -> Constant T
EqualsS -> IF |------ Target
Constant 0 ----> else -> Constant F
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Source Element (Date) ---> (IfElse) Function --->True (Contant function "T" --. Var1) --> Else false (Contant function "F" --. Var1)
RGDS
SRINI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.