It is possible to build automations that take into account the group to which the subject is randomized. For example, you can hide a visit for subjects who are randomized to group A.
Note: This feature is not enabled by default. To use it, you need to contact Castor Support to have the feature activated for your study. Once enabled, you can proceed with the steps below.
- Add the field type 'Randomization' in your study. Give the field a variable name, e.g. 'randomization'. This will show the randomization allocation (e.g. 'group A'), but in the backend is stored as numbers (1,2 - depending on the number of groups you have added and in the order of appearance in the randomization settings).
- Add a calculation field that can be hidden and will extract the mentioned number. Simply use
{randomization};
- in the template - if that is your variable name. You can then use this calculation field in an automation where you will be using the same numbers - for example, you can hide a visit or form if the calculation field is equal to 1.