on 11-17-2017 8:24 AM
Hi Guys,
I need so tips about how to make this logical below:
Source to Target - (Element - KEY).
The element KEY must be not created with there is no LOCAL_PI_ID, because KEY it's WHERE to JDBC interface and the select will be:
SELECT * FROM TABLE WHERE - Will generate error.
If there is no LOCAL_PI_ID - Do not create KEY
If there is LOCAL_PI_ID - Send ROW - LOCAL_PI_ID to KEY - LOCAL_PI_ID
If there are COUNTRY_CODE or LOCAL_DRUG - Send ROW C or L to KEY C or L.
I need make this comparison from those 3 input fields to KEY.
Thank you guys !
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change the context of LOCAL_PI_ID to the root node, then map to key;
Change the context of LOCAL_PI_ID to the root node, then splitByValue (each value), then map to target LOCAL_PI_ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pedro!
Wouldn't you please clarify your requirement? Do you have three possible conditions like:
WHERE LOCAL_PI_ID = Value
WHERE COUNTRY_CODE = Value
WHERE LOCAL_DRUG = Value
?
Or combination of that conditions?
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Evgeniy,
If there is NO LOCAL_PI_ID at SOURCE message - Do not create KEY in target.
But if I have the COUNTRY_CODE or LOCAL_DRUG I need create KEY to create the statement for data base .
OR
If I have LOCAL_PI_ID at SOURCE message - Create KEY in Target with LOCAL_PI_ID to make statement for data base.
Row - 0:Unbounded
Key - 0:Unbounded
is it clear ?
Hi Pedro!
If there is NO LOCAL_PI_ID at SOURCE message - Do not create KEY in target.
But if I have the COUNTRY_CODE or LOCAL_DRUG I need create KEY
If no LOCAL_PI_ID - don't create key.
But if COUNTRY_CODE or LOCAL_GRUG exists (and still no LOCAL_PI_ID) - create key.
What does this mean?
Regards, Evgeniy.
Try this.
LOCAL_PI_ID-->Exists-->CreateIf-->KEY
LOCAL_PI_ID-->LOCAL_PI_ID
COUNTRY_CODE-->Exist-->If-->then pass COUNTRY_CODE Else pass LOCAL_DRUG
--Priyanka
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 | |
7 | |
7 | |
6 | |
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.