on 06-21-2016 8:30 AM
Hi All
My requirement is if the condition is true then "Current Date" should pass to Output and if the condition is false "IDTNR" should pass to output "Chassis Number".
Input Values:
Her the condition is true in the 3rd line item. But in the output "Current Date" value is not passing. Instead IDTNR is passed to output.
Output:
I tried using If Without Else and the condition worked ("Current Date" sent to output). But if the condition is false then the output field "Chassis Number" tag is not sent.
Kindly Suggest me to complete this requirement.
Thanks You.
Regards,
Vinoth
Hi Vinoth,
Add useOneAsMany, IDTNR for the first input and the field E1EDK14 for the 2nd and 3rd input.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
you are right. if i use descending then it is working.
In this case, i have another interface which is using same mapping. if i use descending that interface is disturbed.
Is it possible to use these two identifiers?
E1EDK14
"QUALF = 006" & "ORGID = 30"
or
E1EDK14
"QUALF = 015" & "ORGID = YPI0"
Regards,
Vinoth
Hi Mark,
sorry if i have communicated it wrongly.
I mean to say, we have to use either of the condition to meet this requirement.
IF
E1EDK14
"QUALF = 006" & "ORGID = 30"
Then -> Date
Else -> IDTNR.
I'm not sure how it will work, If i concat QUALF and ORGID and then use the fix values pre-defined function.
Please suggest.
Regards,
Vinoth
Hi Vinoth,
The problem here is, IDTNR belongs to a different context when compared to QUALF and ORGID.
If you have all in the same context you should not face such issues. I have tried to replicate the same scenario in a simpler way. Please see the IF else results in the queue.
Thanks & regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinoth,
Can you please post a sample xml input payload, with multiple segments.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vinoth,
I guess its because of context changes.
Check the context for both the queues ,use remove contexts,split by value accordingly.
Post the input queue screenshot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.