Adding a generic workflow method