on 03-02-2011 1:21 AM
Hello,
I need some help on UseOneAsMany node function
I have a condition like :
If Input = 'YES' then send the YES value else need to send "NO" to target. and the input resides on header level and based on this condition I need to generate multiple segments on Item level.
Thus, I placed If condition and sending this useoneasmany output to then (of if)
now its repeating only the first time
the later occurance, useoneasmany isnot getting repeated.
its working everytime except it I send the value to If condition
Issue with if an useOneAsmany function combination.There s no prob with only UseOneAsMany function.
Thanks
E.
Hi,
UseOneAsMany has 3 inputs...in the first input you have to give your condition and in 2nd and 3rd inputs you have to give the input, which will decide the multiple occurence of your output segment.
also, it will be good if you can explain your requirment more clearly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try using copyValue[0] or putting the values as constant 'YES' and 'NO'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
USEONEAS MANY has 3 input.
First Input: Which Value(SAY A) has to repeat.
Second Input: A will repeat the no of times, the total no of elements in Second Queue.
( SAY B ) and B is coming with 1,2,3,4.
so four element in QQueue ... So A will repeat 4 times.
Third Input: Now We have A repeted 4 No of times for target Queue. Now By this 3rd Input ,Context of target Queue will be decided.
Say
A
A
context change
A
A
Context Change ..
NOTE : Check 2nd and 3rd Queue should have equal no of elements ...
Now what i would suggest you to check your Second and Third Queue.
regards
PS
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 achieve the functionality without If then else, using Fix value mapping function.
Input (from source header and I believe source header repeats only one time) -> Fix Value map (Yes u2013 Yes and default No) -> Use one as many input.
Regards
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The requirement is not very clear. Can you post your source input and expected target output?
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.