Framework for conditional acts