Pub:string:concat - transformers cannot loop over elements

What product/components do you use and which version/fix level are you on?

Web 10.11

Is your question related to the free trial, or to a production (customer) instance?

Customer, PRD

What are you trying to achieve? Please describe it in detail.

I can’t concat two variables while looping.

Variable1: 1
Variable2: D
Desired result: 1 D

I can recall doing this in the past without any issues, but I can’t figure out why I can’t do it today.

Do you get any error messages? Please provide a full error message screenshot and log file.

image

What I’m doing wrong?
Can someone help? thank you

Have you installed all the latest fixes for the products and systems you are using?

You are missing a loop, you need to add a 2nd that loops over ‘ArrayOfUAsItem’
regards,
John.

I @John_Carter4 this doesn’t work.

A double loop was indeed my first attempt. But then I decided to drop it.

It doesn’t stop on the map, goes straight to the default.

I tried as an input array this:
/results/Results/UAs/ArrayOfUAsItem
and
/ArrayOfUAsItem

Any idea?

Principal is right. However, if you look you will see that the icon for ArrayOfUAasItem is still showing as a list i.e. sheaf of paper. Hence, your inner look is not configured correctly. Your loop paths are wrong

1st loop - either /results/Results or /results/Results/UAs. (Not sure where the first array is in your structure)
2nd loop - /results/Results/UAs/ArrayOfUAsItem

regards,
John.

Hello @John_Carter4 I think this is a bit more complex.

None of the solutions above worked.

I did some mappings to be able to remove one of the loops.

Now I have a document with an ArrayList in it.
image

Loop input array:
/genericDocument/tempArrayOfUAsItem

Error:
image

Looking at the screenshot it appears that your path is still wrong.
The loop starts with ‘genericDocument…’. However, you are mapping from ‘results/Results/UAs/ArrayOfUAsItem’
Best thing to do is right click on the list that you want to loop over and then copy it. Paste the result into the input array property of your loop. Make sure you only map after doing this. Any transitions that you made before configuring the loop will be invalid and you will have to remove them and remap :frowning:
John.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.