fun toggleTemporarily(type: String, flag: Boolean, action: () -> Unit): Unitfun toggleTemporarily(typeFlags: Map<String, Boolean>, action: () -> Unit): Unit
Temporarily enable or disable workflows, do action, then restore workflows to initial state.