Skip to main content
New Participant
Feb 7, 2023 1:32 PM UTC
Question

I need to get that by using the for each function

Hi all,

{1,2,3,8,9,9,9,9,9,80,90,70}, {56,76,54,32}, {20,23,45,54,32,54}, {1,2,3,4,5,6,7}, {11,12,13,14,15,16,17,18}

Please suggest how do this using foreach function get output like this,


length of array 1 is 12
length of array 2 is 4
length of array 3 is 6
length of array 4 is 7
length of array 5 is 8


Thank You In Advance

    3 replies

    stefanhelzle0001
    Brainy
    Feb 7, 2023 1:42 PM UTC

    What did you try so far? count() or length() should get you started.

    medap0002Author
    New Participant
    Feb 7, 2023 1:44 PM UTC

    Thank you so much,

    And i will try and get back  to you 

    mikes0011
    Brainy
    Feb 7, 2023 4:14 PM UTC

    This depends heavily on what the inputs actually are (as in the source), and how they're formatted.  Appian doesn't handle "array of arrays" very well to be honest, so it would require some special treatment.

    The Expression Guru