Before calling ->name on workflow error validate that ->name can be called