[Promotion Manager] Import is changing 'custom' process type always to bpmn type
This commit is contained in:
dheeyi william
2017-04-04 14:46:56 -04:00
parent d7a7962609
commit 3892a07e83
3 changed files with 10 additions and 1 deletions

View File

@@ -312,6 +312,7 @@ class GranularImporter
$arrayWorkflowFiles = $data["files"]["workflow"];
$arrayBpmnTablesFormat = $this->structureBpmnData($arrayBpmnTables);
$arrayBpmnTablesFormat['prj_type'] = $arrayWorkflowTables['process']['PRO_TYPE'];
$arrayBpmnTablesFormat['pro_status'] = $arrayWorkflowTables['process']['PRO_STATUS'];
$result = $this->bpmn->createFromStruct($arrayBpmnTablesFormat, $generateUid);
$projectUidOld = $arrayBpmnTables["project"][0]["prj_uid"];
$projectUid = ($generateUid) ? $result[0]["new_uid"] : $result;