Avoiding Pitfalls in Event-Based Workflow Automation