on 09-27-2010 1:58 PM
Hi All,
I have a mapping requirement as
Source field is sourcedate while the target field is targetdate.
If the sourcedate value is there then only it should be mapped to the targetdate else it should not be mapped.
I tried to implement it with IF THEN ELSE but, could not understand what should be put in to the ELSE part if the sourcedate field is not having any value?
Can you please help me?
Thanks in advance
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use ifWithoutElse, Constant, equalS, & Not functions and apply this logic if sourcedate not equals empty then map sourcedate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shwetha
Use If without else
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Babu,
Thanks for the reply.
I used the If without else,but still the error is coming as
Runtime exception when processing target-field mapping /Message/../.../TargetDate; root message: Unparseable date: ""
The mapping requirement is that if the SourceDate field is present then it should be mapped to the TargetDate fieldelse the TargetDate field should be empty.
The mapping with the date transformation is SourceDate->DateTransformation->TargetDate
In the DateTransformation,the Input date format is yyyymmddhhmmss while the output date format is yyyymmdd.
Can you plese help me?
Thanks in advance
Edited by: Shweta Kullkarni on Sep 27, 2010 3:18 PM
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.