Merged in bugfix/PMCORE-3990 (pull request #8576)

PMCORE-3990

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Luciana Nuñez
2022-09-20 13:09:56 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -2,6 +2,7 @@
namespace ProcessMaker\BusinessModel\Migrator; namespace ProcessMaker\BusinessModel\Migrator;
use Processes;
use ProcessMaker\Core\System; use ProcessMaker\Core\System;
use ProcessMaker\Project; use ProcessMaker\Project;
use ProcessMaker\Util\Common; use ProcessMaker\Util\Common;
@@ -85,8 +86,9 @@ class GranularExporter
'PROCESS' => [], 'PROCESS' => [],
'PROJECT' => array(\BpmnProjectPeer::retrieveByPK($this->prjuid)->toArray()) 'PROJECT' => array(\BpmnProjectPeer::retrieveByPK($this->prjuid)->toArray())
); );
$processes = new Processes();
$workflowDefinition = array( $workflowDefinition = array(
'process' => array(\Processes::getProcessRow($this->prjuid, false)), 'process' => array($processes->getProcessRow($this->prjuid, false)),
'tasks' => [], 'tasks' => [],
'routes' => [], 'routes' => [],
'lanes' => [], 'lanes' => [],