cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
481
Views
0
Helpful
1
Replies

Send Email when File is Empty

kikidravie
Level 1
Level 1

We currently have a TIDAL Job where a File Event monitor the existence of a certain file lets call it FileExists.txt.

When the dependency is satisfied, we kick off an Informatica Job. Works well.
Now the ask is to try to fit in a Logic that checks the size of the FileExists.txt file and (a) send and email out if its an empty file (0 KB) (b) proceed as usual with the Informatica Job.

 

Any suggestion as to how this can be achieved?

 

 

1 Reply 1

Derrick Au
Level 4
Level 4

Hi Kikidravie,

 

Whether the file is 0 KB or higher, Tidal File Event should be able to detect the existence of the file. Try creating a corresponding email action and incorporate the following variables <FileMon.FileName> and <EventOutput>.

 

BR,

Derrick Au