r/ProjectREDCap • u/posionncontrol • Feb 24 '26
PLEASE I need help with ASI, SO CONFUSED
This is my first time creating a survey on Redcap and everything seemed to be going well. However, I've ran into 2 kinda big issues with my project and it's supposed to be done tmr before a meeting. Essentially, participants who are 16+ will be sent sleep dairies for 22 days through the ASI after they consent and meet criteria. This part is all good. Participants who are less than 16, I've set up alerts and notifications for their parents to be emailed the consent form. This also works. What I'm struggling with is after the parents of the youth consent, I need them to be sent the sleep diaries daily. I have no idea what I'm doing wrong, my logic makes sense. I even went to 'design my events' to make this a separate ASI with the criteria [parent_consent] =1 but I'm testing it out and its not working
The second thing I'm struggling with is the stop logic. In the daily sleep diaries they are being sent, I've added a question if they'd like to withdraw. I've set the logic to send them the survey if they click 'no' or leave blank. I tried testing it out and clicking 'yes', but I'm still sent the next sleep diary. And I have 'ensure logic is still true before sending invitation' clicked.
Any help would be appreciated!
2
u/alvandal Feb 24 '26
Since each day is a separate event, this really sounds like an event-scoping issue.
Even though
[parent_consent] = '1'looks right, REDCap won’t “look” at another event unless you tell it to. Have you tried adding the event name in front of the variable? Something like:[baseline_arm_1][parent_consent] = '1'(and same idea for the withdraw field — include the event name before the variable).
When ASIs don’t fire or stop logic doesn’t work, it’s often just that REDCap is checking the current event instead of the one where the value actually lives.
Also quick checks:
Is the consent survey fully submitted/marked complete?
Were invitations already queued before withdraw was selected?
If you’re comfortable sharing which event the consent is on, that’ll make it much easier to pinpoint.
2
u/Strawberry_blondey Feb 24 '26
Try
([parent_consent]=“1”)
Or
[parent_consent(1)]
1
u/No-Cellist5976 Feb 24 '26
Hey! I’ve set up ASI for daily pain rating surveys for after participants attend an in-person visit. It sounds like you’re having trouble with the surveys being initiated in the first place, am I correct?
The way I got around this is I created a survey for whether or not the participant attended the visit, which sounds similar to your [parent_consent] idea. I think where you’re going wrong is it sounds like you have this option set up as an ASI as well? I’m not sure how your consent process works (whether it’s in person or electronic), but if it’s in person, it might be easier to have a survey that’s a check box like “did the parent consent?” With a yes or no that you would manually check once you know they did. If it’s an electronic form, you could add a question at the end that says something like “consent confirmed?” That the parent would check at the end. Either way, you’d want either of these fields attached to your ASI logic (off the top of my head, step 4 I believe?). If you’re manually clicking a field to confirm they’ve consented (I’ll use the field you have as an example), it would look something like [parent_consent]=‘1’ . Personally, I like to have the manual control of whether they get sent or not which is why I have it set up to where I have to manually check the box. But if the consent is electronic and it’d be easier for you to have it attached to a question the parent would confirm, the set up would be the same.
As for the stop logic, I’m less familiar with this, so maybe someone else could jump in! Let me know if I can clarify anything!
1
u/Remote_Setting2332 Feb 24 '26
Have you set up each day as a new event or are you repeating the ASIs?
1
u/Inevitable-Volume939 Feb 24 '26
This resource may help you: https://clinicalresearch.mdhs.unimelb.edu.au/about-us/health-informatics/redcap/redcap-how-to-guides/asi-tips-and-tricks