Skip to Content
0

useOneAsMany Error Root Cause

Oct 21, 2016 at 09:30 AM

123

avatar image

Hello Experts,

Good Day!! I am getting the following error in useOneAsMany node function.

Too many values in the second queue in function useOneAsMany. The number of values for all contexts must be the same as the number of values for the third queue

If ,I need to verbalise the root cause in one line what can I say?

Can I say its due to number of values in contexts and number of values in queues?

Thanks in advance,

Vikas

10 |10000 characters needed characters left characters exceeded

Can you close the question so that it will be helpful for whoever come across this in future, they can quickly find the answer without reading all the answers and guess which one could be the correct answer.

0
* Please Login or Register to Answer, Follow or Comment.

9 Answers

Praveen Gandepalli Oct 21, 2016 at 11:03 AM
2

Hi Vikas,

You can solve this issue by using below mapping. Pass second field to both second and third arguments of useOneAsMany and after the function you can use spltByValue(Each Value) like below.

Regards,

Praveen.


useoneaamany.png (9.2 kB)
Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Oct 21, 2016 at 09:37 AM
0

Hello Vikas,

Its because the first and second input queue of UseOneAsMany function does not have the same number of context changes.

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Oct 21, 2016 at 10:45 AM
0

Thanks Raghu.

But the error is saying about second and third queue

Too many values in the second queue in function useOneAsMany. The number of values for all contexts must be the same as the number of values for the third queue

Is it applicable for the above error as well?

Thanks in advance

Vikas

Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Oct 21, 2016 at 10:56 AM
0

Hello Vikas,

Sorry for that !! I misunderstood the question.Below is the criteria for Use one as many.Its failing because of values mismatch.

The first two parameters must contain the same number of contexts while the last two parameters must contain the same number of values.

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Oct 21, 2016 at 11:05 AM
0

Thanks once again Raghu.

So can I say the root cause as the values mismatch or need to verbalise it bit more? If so what will those words be?

Thanks in advance

Vikas

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Oct 21, 2016 at 11:14 AM
0

Thanks Raghu and Praveen,

Can you please let me know how to verbalise the root cause?

can I say the root cause as the values mismatch or need to verbalise it bit more? If so what will those words be?

Thanks in advance,

Vikas

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Oct 21, 2016 at 11:14 AM
0

Thanks Raghu and Praveen,

Can you please let me know how to verbalise the root cause?

can I say the root cause as the values mismatch or need to verbalise it bit more? If so what will those words be?

Thanks in advance,

Vikas

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Already did Vikas

The first two parameters must contain the same number of contexts while the last two parameters must contain the same number of values.

0
Praveen Gandepalli Oct 21, 2016 at 11:36 AM
0

Hi Vikas,

To useOneAsMany first and second queues number of context changes should be same (fiirst queue should be single values in the context, second queue multiple values in the each context), second and third queues the number of values should be same without taking considerations of number of contexts (third queue each context should be only one value)

I hope it clarifies your question.

Regards,

Praveen.

Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Oct 21, 2016 at 11:40 AM
0

Thanks Praveen for a very nice explanation.

So I can say that its failing because of values mismatch, right?

Thanks in advance,

Vikas

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Yes it is failing because of values mismatching in second and third queue.

0