r/ProjectREDCap • • 23d ago

API Import Alert

Having an issue with triggering an alert within my redcap project. Essentially a report is being imported via API to a record, in a specific event, form and field [patient_report]. I have extensively tested the API import which works fine, but the field is never saved, only a pdf stored. This means the form status in incomplete, i have tested an alert condition to trigger once [patient_report] <> "", however this hasn't triggered. I have installed an external module which auto completes forms based on a field within the instrument, however, this does not trigger auto complete when the field is populated via API. Anyone have any ideas or experience with similar issues?

The alert is to clinicians to let them know a report has been uploaded to the participants record. Thanks in advance!

1 Upvotes

4 comments sorted by

1

u/MadHatterIsHer 14d ago

Can you try something that isn’t <>”” (is not blank). Usually triggers like these work best with an affirmative logic.

1

u/johnathonmcl 14d ago

I have tried [patient_report] = 1 with the same outcome, no alert triggered. I have also used an autocomplete external module so the trigger is satisfied when the form is complete, but again, upload through API does not trigger the autocomplete of the form either!

1

u/MadHatterIsHer 14d ago

Can you screen shot your alert logic? Just the top section

1

u/johnathonmcl 14d ago

I can indeed, my laptop is in the office so I will have to send on Monday if that's okay, I appreciate your help!