Lifecyclestate transform using vtl

I can see why inactive is never being reached. Try switching the elseif for dormant and inactive so that dormant is last.

As for created never being reached, the only reason I can see is your test data never triggers that condition. Have you made sure that your start date is in the future when testing created?