macro action type refactoring (conditionType)