HOR-478 The endpoint {{url}}/api/1.0/{{workspace}}/project/{{project_uid}}/process doesn't update BPMN_PROJECT table
HOR-478 The endpoint {{url}}/api/1.0/{{workspace}}/project/{{project_uid}}/process doesn't update BPMN_PROJECT table
up observation
up observations
This commit is contained in:
@@ -562,6 +562,12 @@ class Process
|
||||
$this->throwExceptionIfNotExistsUser($arrayData["PRO_CREATE_USER"], $this->arrayFieldNameForException["processCreateUser"]);
|
||||
}
|
||||
|
||||
//Update name in table Bpmn_Project and Bpmn_Process
|
||||
$oProject = new BpmnProject();
|
||||
$oProject->update($processUid, array('PRJ_NAME'=>$arrayData['PRO_TITLE']));
|
||||
$oProcess = new BpmnProcess();
|
||||
//The relationship Bpmn_Project with Bpmn_Process is 1:n
|
||||
$oProcess->updateAllProcessesByProject($processUid, array('PRO_NAME'=>$arrayData['PRO_TITLE']));
|
||||
//Update
|
||||
$process = new \Process();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user