Skip to Content
avatar image
Former Member

Agentry File Download Weekly Rule

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?

image001.png (30.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 10, 2017 at 04:58 PM

    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.


    Add comment
    10|10000 characters needed characters exceeded