It's a good practice to set up a field that can be used to explicitly control whether or not any invitations should be scheduled for a record. This allows for logic like the following:datediff([surgery_arm_2][surgery_date], 'today', 'd', true) = 6 and [enrollment_arm_1][prevent_surveys] ! = '1'