MT-63, MT-64, MT-65, MT-66
This commit is contained in:
@@ -60,6 +60,7 @@ class DynaformsMigrator implements Importable, Exportable
|
||||
{
|
||||
try {
|
||||
$oData = new \StdClass();
|
||||
$oData->steps = $this->processes->getStepRowsByElement($prj_uid,'DYNAFORM');
|
||||
$oData->dynaforms = $this->processes->getDynaformRows($prj_uid);
|
||||
$result = array(
|
||||
'workflow-definition' => (array)$oData
|
||||
|
||||
@@ -60,6 +60,7 @@ class InputDocumentsMigrator implements Importable, Exportable
|
||||
{
|
||||
try {
|
||||
$oData = new \StdClass();
|
||||
$oData->steps = $this->processes->getStepRowsByElement($prj_uid,'INPUT_DOCUMENT');
|
||||
$oData->inputs = $this->processes->getInputRows($prj_uid);
|
||||
|
||||
$result = array(
|
||||
|
||||
@@ -60,6 +60,7 @@ class OutputDocumentsMigrator implements Importable, Exportable
|
||||
{
|
||||
try {
|
||||
$oData = new \StdClass();
|
||||
$oData->steps = $this->processes->getStepRowsByElement($prj_uid,'OUTPUT_DOCUMENT');
|
||||
$oData->outputs = $this->processes->getOutputRows($prj_uid);
|
||||
|
||||
$result = array(
|
||||
|
||||
@@ -108,8 +108,6 @@ class ProcessDefinitionMigrator implements Importable, Exportable
|
||||
$oData->routes = $this->processes->getRouteRows($prj_uid);
|
||||
$oData->lanes = $this->processes->getLaneRows($prj_uid);
|
||||
$oData->gateways = $this->processes->getGatewayRows($prj_uid);
|
||||
$oData->steps = $this->processes->getStepRows($prj_uid);
|
||||
$oData->steptriggers = $this->processes->getStepTriggerRows($oData->tasks);
|
||||
$oData->subProcess = $this->processes->getSubProcessRow($prj_uid);
|
||||
$oData->caseTracker = $this->processes->getCaseTrackerRow($prj_uid);
|
||||
$oData->caseTrackerObject = $this->processes->getCaseTrackerObjectRow($prj_uid);
|
||||
|
||||
@@ -62,6 +62,8 @@ class TriggersMigrator implements Importable, Exportable
|
||||
{
|
||||
try {
|
||||
$oData = new \StdClass();
|
||||
|
||||
$oData->steptriggers = $this->processes->getStepTriggerRows($oData->tasks);
|
||||
$oData->triggers = $this->processes->getTriggerRows($prj_uid);
|
||||
|
||||
$result = array(
|
||||
|
||||
Reference in New Issue
Block a user