Issue with filter

Hello

I have a senario which is triggered by a new file in a Google Drive folder.
This is filtered by the name of the file
However it seems that whatever I do if a new file comes into the folder the filter is blocking the flow.

When I run it once it works.
What I am doing wrong?
Stan



Screen Shot 2024-05-24 at 9.21.57 AM

Hey @Stanislas_Berteloot
Could you please mouse hover the {{37.Name}} field to see their actual content?

image

1 Like

Hi there
They all are properly filtering out other files

Then I’m not sure to understand the problem.
When this scenario runs, you effectively get the file which matches your filter.
What am I missing?

Although the file was in the folder at 1:47 when the scenario ran at 2:00 the filter blocked it.

Hello everybody
Any ideas?

Thanks
Stan

Welcome to the Make community!

Please provide the following

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

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

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle 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 output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

1 Like

Hey @Stanislas_Berteloot,

When using your “Watch File” module from Google, Make is looking at your folder to see which new files have been added to the folder. Then it processes the entire list of new files identified, then mark them as “seen” to not process them anymore in the future.

“Watching” is about detecting new files uploaded.
To understand this behavior when testing your scenario, you can tell Make how to look at the folder by specifiying a start date (see image below).

brave_0Ij0Ozbq2U

In your case, once a DMI- file has been processes by the scenario, it won’t be considered anymore in further runs of your scenario.

Maybe do you want to always look at this folder and always process the DMI- file? In that case, you should use a “Search for Files” module which would always look at the current content of your folder, irrespective of previous runs.

I hope it’ll help.

2 Likes

Thank you Pierre and everyone,

Today the filter worked as specified. I do not understand why it didn’t before. Probably has to do with the date of the file…
Anyhow, it now works.
Thanks!
Stan

1 Like