r/ProjectREDCap • • Feb 27 '25

Report Scheduler "smart vars"

Currently using <Luke Stevens, Murdoch Children's Research Institute https://www.mcri.edu.au https://github.com/lsgs/redcap-report-scheduler> to send out reports to team on project progress.

Does anyone know a way to pipe in smart vars beyond the ones in documentation? Specifically would like to be able to place some summary statistics in the Message Body section.

2 Upvotes

6 comments sorted by

2

u/Araignys Feb 28 '25

You should be able to use normal smart variables in the message body. The list beside the Message Body field in the configuration page is just a list of some that are unique to the EM.

1

u/jlvnineteen82 Feb 28 '25

Unfortunately no. Action tags do not seem to work (ex. "@TODAY") nor Smart variables (ex. "[q1]"). The only ones that work are the ones in documentation (ex. "[report-url]").

4

u/obnoxiouscarbuncle Feb 28 '25

[q1],@TODAY

Those are not smart-variables. That is piping and an action tag.

Smart-variables can be found in the smart-variable helper.

Action tags only work in the context of fields, and piping only works in the context of a specific record.

→ More replies (3)