How to Apply a Workflow to an event