Two-Layer Transaction Management for Workflow Management