From b0b07bec9c31049327da279d6155cd943f47474e Mon Sep 17 00:00:00 2001 From: Gustavo Adolfo Cruz Laura Date: Mon, 21 Mar 2016 09:18:33 -0400 Subject: [PATCH] Adding return structure. --- .../BusinessModel/Migrator/ProcessDefinitionMigrator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workflow/engine/src/ProcessMaker/BusinessModel/Migrator/ProcessDefinitionMigrator.php b/workflow/engine/src/ProcessMaker/BusinessModel/Migrator/ProcessDefinitionMigrator.php index fdc69a441..74fc787c3 100644 --- a/workflow/engine/src/ProcessMaker/BusinessModel/Migrator/ProcessDefinitionMigrator.php +++ b/workflow/engine/src/ProcessMaker/BusinessModel/Migrator/ProcessDefinitionMigrator.php @@ -103,10 +103,10 @@ class ProcessDefinitionMigrator implements Importable, Exportable $oData->process["PRO_TYPE_PROCESS"] = "PUBLIC"; $result = array( - '' => '', - '' => '' + 'bpmn-definition' => $bpmnStruct, + 'workflow-definition' => (array)$oData ); - return $oData; + return $result; } public function afterExport()