FlowHeater - The Data Import / Export Specialist
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1


Notifications 1 year 1 month ago #3635

We just downloaded FH Server, love it.

I set up a test for File Monitor with an email notification.
When the task is triggered it runs a prompt to concatenate the *csv files and moves the cat file to a processed folder.
Then an email notification is sent.  All that works great, the only issue I have is it sends an email for every file that gets concatenated.

Is there a way now or possibly in an update to control or limit it to one email notification?

Thanks JD

Please Log in or Create an account to join the conversation.

Last edit: by JD Cox.

Notifications 1 year 1 month ago #3636

Hi JD,
This is currently not possible but you could to it with two additional dummy tasks.
Create a new file monitoring task “trigger task”, triggered by a file (new and modify) e.g. trigger.txt. This one includes a simple CMD or PowerShell script. The script only checks whether your *.csv files folder is empty and the trigger file trigger.txt still exist. In case yes just copy your concatenated *.csv file to another folder and delete the trigger.txt file.
Note: In this task you have to configure a delayed execution, I guess 5 or 10 seconds should be enough.
Create a second new file monitoring task “send mail task”, triggered by your copied concatenated *.csv file, see above. In this task you run just a dummy FlowHeater definition that creates a new CSV file from the origin CSV file. In this task you send now your desired email just once
In your original task you have to add an additional step at the end. The Step should just append a line into the trigger.txt file. e.g cmd.exe /C “echo dummy >> C:\Temp\trigger.txt”. With this you trigger the “trigger task”, see above.
Now FlowHeater Server should send just one big CSV file via Email.

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in or Create an account to join the conversation.

Last edit: by FlowHeater-Team.

Notifications 1 year 1 month ago #3637

Thanks for the help. For the most part I used option two. I removed the notification from the original task and created a new task, monitoring the processed folder.  When a new file is detected it performs this task running command:

@echo off

The command does nothing.  But, it satisfies the task performance, then the one and only email notification is sent.


Please Log in or Create an account to join the conversation.

Last edit: by FlowHeater-Team.
  • Page:
  • 1
Time to create page: 0.124 seconds

other Languages


FlowHeater Home

de en


Privacy Statement

Copyright © 2009-2022 by FlowHeater GmbH.
All rights reserved.

Follow us on

twitter  facebook


 de en