Exporting a workflow