The proper way to abort a job from within a Transformer stage is to create a dummy output link with a constraint that tests for the abort condition, then set the 'Abort After rows' property to 1. This causes the job to abort after the first row flows through that link when the condition is met.