Templates Plugins Courses

Repeating group to csv, how to delete file

Hi,
When i create the workflow to generate the csv, that works fine. But i’m trying to schedule a custom event to delete the generated file after 1 hour.
For that, when i click a button, i set a state to a group with the rg-to-csv-A value as text.
The problem is when i click, the file is generated but the state isn’t dispalyed.
When i click a second time, a second file is generated, but, the state is the url of the first file !?
I think i need help :wink:
Regards

Hi,
I have purchased this plugin, so any help please ??
Regards

Hello, @Saeba. Thanks for reaching out.
Please accept my apologies for the late reply, due to the weekend. :pray:

Can you please add the action “Add pause before the next action”? It should do the trick:

Summary




It should help. :slightly_smiling_face:

Hi @kate !
Thank you for your reply.
I found the issue…
I had already added action “Add pause before the next action”.
My problem is that my pause time was 100ms. It turns out that the minimum time for this to work is 1000ms.
Thank you again :wink:

Sam

[image]

1 Like

@Saeba,

Oh, that’s great that you’ve sorted it out. :slightly_smiling_face:
Please feel free to reach out again when you have any questions.

Have a good day!

1 Like

Hi, Kate

I have another question :stuck_out_tongue:
I’m trying to delete the file after download it, but it doesn’t work.
I have a workflow “Schedule api” with a scheduled date “current date/time + 20 sec” pointed to > delete uploaded file.

Any help will appreciated.

Thank you.

Sam

@kate My Workflow

And backend workflow

@Saeba,

Sorry for the late reply. :pray:
Let me please check it.

Regards,

1 Like

Hi @kate
have you find how can i do this ?
Regards.

Hello, @Saeba
We are sorry for our late response.

Firstly, please note that the “Delete” action is not provided by this plugin by default. For this reason, we can’t provide you exact advice on scheduling the custom event to delete the generated file after 1 hour, for example.

However, please find below screenshots of our proposal for your case:
image

Due to the fact, that all files go through File Manager in our DataBase, you can set a special action “Delete an uploaded file” instead of creating the custom API.

Hope this advice will help you.
Best regards,