Execute workflow from Java sample