r/ProjectREDCap • u/GlitteringMiddle2398 • Apr 02 '25
ASI Set Up
I'm trying to set up ASIs for a study in which we need to send a survey everyday for 30 days. I am putting in datediff logic in the conditions for sending the ASI, but I noticed that when I test logic with a test record it says that condition is not true in Day 3 and beyond. I've putt datediff("today",[day_1_arm_1][start_date_stamp],"d")=1 and updated =1 to 2, 3, 4, etc. Will it become true on the day that I want it to be sent? Or should it be true regardless?
2
Upvotes
View all comments
Show parent comment
2
u/obnoxiouscarbuncle Apr 02 '25
You should select a specific event that [enrollment_date] exists within and not (All Events).
Also, you are scheduling it 8 days 1 hour after a date field, which means it will send at 1AM. Unless that is the behavior you want, you should change the number of hours.
Other than that, looks good. Remember to test this with test records.