Added checks to continue in workflows

Please ignore the extraClasses attribute, it will be coming in next commit.