how to set alert and test activity to compare when file found and no file found
i want to run a import workflow that is scheduled to run in every 30mins
now if no file is received in last 5hours i want to send an alert
please help me how can i achive this
i know this can be achived like
a File Transfer activity and enable the 'Process missing file'. In the file found transition, store the datetime in which the file was received in an option or variable. When there is no file, compare the current datetime with the time stored in the option or variable and send an alert.
but m unable to set option varibale like how to get bith dates and comapre in test acticity
please help me with the code for test and js activity: date comparison
please help m stuck here


