Avatar

Level 3

Hi,

I am not using Linux.

In my case, A file will generate for every 1 hour in SFTP. So i need to notify when there is no file for 2 days. My file name is like eg: abcd* (abcd_followed by 6 digit random number. so i gave abcd* in file collector).

I have created a option "myOption" (type integer; value 0)

Below is my workflow:

1842529_pastedImage_2.png

i have 2 questions. My questions are,

1) In test activity, I have given vars.recCount > 0, then enable 'True'.

As i don't know my exact file name, i have given vars.recCount > 0. Will this work?

2) If file exist, i will make option value as 0. But for every 1 hour, if file is not there, then i need to do increment. How can i increment my option value. Either like SetOption('myOption',myOption+1) or someother thing?

Please help me with this!

Thanks and regards,

ParthaSarathy.