JDE attachment panel - number of attachments

hello, in JDE the number of attachments to an invoice can vary, there could be none, 1, 2, 3…see attached, in this case there are three.

I need to figure out how many of them before looping through each one to download. I tried to use “find children” but the count always returns 1. Please help.


@Lynn_Song,

For Each UI element activity is best suited here. This will let you download each attachment without need to know how many are there. Try it.

Thanks,
Ashok :slightly_smiling_face:

Thanks! What activity should I use to create the collection first? I used find children but it only had one element when I count it

@Lynn_Song

For each ui element itself is an activity which can identify similar elements and will loop on them

Alternately try to use idx in selector and xan use in combination with check app state…so till check app state returns false the loop can be continued

Cheers

Thank you so much for your help! I ended up using the check app state as for each ui elements didn’t work.

1 Like

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