+x Dave - 12/7/2022+x siceta - 12/7/2022Good morningI am currently working on a research project bridging RedCap and Inquisit.The experiment includes 3 online Inquisit sessions randomly assigned to participants. This assignment is done in RedCap.My current batch file is :<batch>/ sessions = (1 of 3)/ file="categoryswitchtask_fr_en.iqx"</batch><batch>/ sessions = (2 of 3)/ file="stopsignaltask2019_fr_en.iqx"/ file="towertest_d_kefs.iqx"/ file="minutediscountingtask_fr_en.iqx"</batch><batch>/ sessions = (3 of 3)/ file="emotionalgonogo_french.iqx"/ file="attentionalcueing_fr_en.iqx"</batch>Is there any way to assign the session order using a parameter in the URL from redcap to inquisit like I can for the participant id?Thanks for your help!Yes. Sending sessionid=1 as URL parameter will launch the 1st session, sending sessionid=2 will launch the 2nd, and sessionid=3 will launch the 3rd.An example you can try is here: https://mili2nd.co/hnac?subjectid=exampleparticipant01&sessionid=3 (will execute a script called "c.iqx")https://mili2nd.co/hnac?subjectid=exampleparticipant01&sessionid=1 (will execute a script called "a.iqx")https://mili2nd.co/hnac?subjectid=exampleparticipant01&sessionid=2 (will execute a script called "b.iqx")The setup of the underlying batch script is analogous to yours.
+x siceta - 12/7/2022Good morningI am currently working on a research project bridging RedCap and Inquisit.The experiment includes 3 online Inquisit sessions randomly assigned to participants. This assignment is done in RedCap.My current batch file is :<batch>/ sessions = (1 of 3)/ file="categoryswitchtask_fr_en.iqx"</batch><batch>/ sessions = (2 of 3)/ file="stopsignaltask2019_fr_en.iqx"/ file="towertest_d_kefs.iqx"/ file="minutediscountingtask_fr_en.iqx"</batch><batch>/ sessions = (3 of 3)/ file="emotionalgonogo_french.iqx"/ file="attentionalcueing_fr_en.iqx"</batch>Is there any way to assign the session order using a parameter in the URL from redcap to inquisit like I can for the participant id?Thanks for your help!