Start a conversation

Can I create automations based on randomization allocation?

It is possible to build automations that take into account the group that the subject is randomized to. For example, you can hide a phase for subjects who are randomized to group A. 

  1. 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). 
  2. 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 phase or step if the calculation field is equal to 1. 
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Tonya

  2. Posted
  3. Updated