on 06-20-2014 4:32 PM
Hello Experts,
I have some problem in PI mapping which I'm not able to solve.
I would like to convert a date using DateTran in PI mapping.
This date field could be empty in my incoming file.
In that was I have the error: "Unpareable date "".
I tried ot put default value using "MapwithDefault" but I still get the error.
How could I avoid this datetrans issue in my situation ?
Any help would be welcome
Thanks,
S.N
Just check for the length before the transform function.
i.e. If the length is > then do the transformation else send the blank value..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
adding to Hareesh's reply, you can use the below logic before transformation
input --> map with default blank --> equals (blank) --> Not -> If without else --> map the input field and perform date transformation after then.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In case of Blank field you need to populate the default value. In this case you need to add the If then else in place of if without else and map the default value in else.
input --> map with default blank --> equals (blank) --> Not -> If with else --> map the input field and perform date transformation after then.
Else
map with default value.
regards,
Harish
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.