BS-11866 Update actions execution to evaluate conditions before the action is executed