Filter array if all status is equal

Hello all,

I am still new to this but am trying to set up a filter that only fires if all the statuses within an array are 'Done.

My scenario can be seen below, I have aggregated all the statuses within a group, but now want to esnure all the statuses are Done before moving forward.

Can anyone help me with this?

image

Here is the output from the aggregator:

Welcome to the Make community!

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

samliew – request private consultation

Join the unofficial Make Discord server to chat with other makers!

1 Like

You can put a filter on the path between Monday and array aggregator and filter on the Text key which filters out any output bundles coming out of the List Group’s items on and as a result the array aggregator only will aggregate the output bundles from Monday that pass the filter.

1 Like

Thank you all for your help!

My issue with the above solution was that I needed those items to check whether all the items were done, before moving on. However, I have come up with an alternate solution where I convert and aggregate the status’s to a string and filter the string (see below) which seems to work great!

image

Thank you all for you help :slight_smile:

1 Like