Unable to map variable value from Iterator when using array function

:bullseye: What is your goal?

I am building a workflow that image upload coming from multiple sources from a single form. so I have created a tool>set variable with “flatten()” function to make them as all_images variable name. then connect it to iterator select tools>all_images when I am trying to link it to HTTP>download file I only see Iterator>value not iterator>file url. anybody have any other solution to avoid using multi mini chains .

:thinking: What is the problem & what have you tried?

the problem is when I am using flatten function in tools>set variable to concat my image upload source to one and through iterator send it to HTTP to download files to do one analysis on all images , i see onnly iterator>value not file url field to place it in HTTP MODULE.

Welcome to the Make community!

Have you seen these previous discussions?

Your question may already have answers here:

You can search this forum for existing answers and the documentation in the Help Centre to get to a solution faster.

Still require assistance?

If the previous/related discussions are not similar to your question, please reply providing additional details to demonstrate the difference(s) between your question and the ones above.

If you require help understanding or implementing workarounds/solutions in the related discussions, please reply with more details of what you have tried, including screenshots.

@samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

Thanks, it did not help. here is attachment of the workflow

I have used the following for router filter before Iterator 23,

and the following for iterator array value 23

i did exact the same setting for another field for second router and iterator 49 as following but the HTTP cannot read the iterator>file URL and only item available is “value” please check the screenshot.

If you know the name of the variable already, you can type it in manually. Like:

{{49.file_url}}

Or whatever the exact name is.

If you need further assistance, please provide the following:

3. Properly-formatted Output Bundles from a Scenario Run

Please provide the input/output bundles of the trigger module, and each of the relevant modules by getting the bundles from a previous run from the Scenario “History” tab.

Providing the bundles from a scenario run will allow others to replicate what is going on, especially if there are complex data structures (nested arrays and collections) and external services. This helps mapping the correct raw variable names from collections (instead of the label/display name).

Need help❓View instructions ◀

Click on the white speech bubbles on the top-right of each module and select “Download output (or input) bundles”.

A. Upload a Text File

Save each bundle contents in a plain text editor as a moduleNumber-output.txt file. Open the file to check if it has not added additional formatting or encoded the plain text.

  • You can upload files and images to this forum by clicking on the upload button:

    Uploading an attachment here will look like this:
    module1-input.txt (1.2 KB)
    module1-output.txt (3.4 KB)

B. Insert a Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the bundles AND format them correctly.

:warning: Formatting IS Important! :warning:

Here are some ways to provide text content in a way that it won’t be modified by the forum.

  • Method 1: Type code fence manually
    Manually type three backticks ``` in a separate line before and after the content, like this,

    ```
    text goes here
    ```
    
  • Method 2: Highlight the pasted content, then click the preformatted text/code button

  • Method 3: Upload your file elsewhere and share the public link
    This method is only advised for large files exceeding the forum upload limit.

Sharing these details will make it easier for others to assist you, so that you can get better answers, faster.

@samliew

again, we have two image upload fields in our form, and we want the user to upload the images separately not in one field. images from front and rear. here is the attachment of output from form bundle showing that images got uploaded in each field successfully.

here is the scenario module structure. as you can see files been uploaded to google drive. next screenshot showing the output for google drive.

here is the screenshot shot of bundle 1, filter condition from router A, before Iterator module 23. as you can see the first fille uploaded successfully downloaded.

so, file 1 been uploaded properly and iterator 23 showing the field for file URL for HTTP to be downloaded.

here is the screenshot of the filter condition for router B before iterator module 49, for second file: we replicate everything exactly same as another route as you can see it is not reading the file url.

here is the screenshot of the iterator 49 field, that showing the file URL is not getting pulled from form. however, the form output showing it has been uploaded.

is this MAKE product issue? because we have replicate everything the same as router A for router B. but for some reason the route B , iterator 49 not reading the file url. and the logs are not that detailed and technical so we can find where the issue is taking place. uploaded files are image, same format and small size. we have even tried to write it manually but still not pulling file url from google drive to HTTP to be downloaded. the solution should show the FILE URL in iterator 49 filed so we can map it in HTTP module.

hope I was able to clarify our issue this time more clearly.

Yes, the iterator will not show the possible outputs until it runs. Cause it has no way of knowing what the possible outputs are.

Again, if you know what the output is supposed to be, just type it in. Like {{49.file_url}} or whatever the actual name for file url is.

Thank you. we already ran it many times and applied what you have suggested hoping the MAKE will learn it and it will pop up but we are still keep getting the same error.