cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry File Download Weekly Rule

Former Member
0 Kudos

I have an agentry step to download a file into my Agentry iPad application. I set the DownloadDateTime when the file is first downloaded to the server time and want to create a rule to only download the file once a week.

Here is my first attempt at that rule which does not seem to completely work. I can not figure out exactly when/why it does download but it is not every time but it is certainly more frequent then once a week.

Is something wrong with my math?

Accepted Solutions (0)

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I think your logic is off for the date comparison. Your date comparison will always return true. I think you want to add 1 week to the last download date and compare that to the current date and time. So if the last download date + 1 week is less than now then download the file.

Also, I am not sure you can do basic math like that in a SUM. I could be wrong but I think you need to put in the multiplied out value.

--Bill