Adding new project type (bpmn) creation button and loading fe a be and some changes for method PUT /project/{prj_uid} (still not functional)
This commit is contained in:
16
workflow/engine/methods/processes/openDesigner.php
Normal file
16
workflow/engine/methods/processes/openDesigner.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
if (! array_key_exists('pro_uid', $_REQUEST)) {
|
||||
die('Bad Request: The param "pro_uid" is required!');
|
||||
}
|
||||
|
||||
$proUid = $_GET['pro_uid'];
|
||||
$bpmnProject = BpmnProjectPeer::retrieveByPK($proUid);
|
||||
|
||||
|
||||
if (is_object($bpmnProject)) {
|
||||
$url = '../designer?pro_uid=' . $proUid;
|
||||
} else {
|
||||
$url = 'processes_Map?PRO_UID=' . $proUid;
|
||||
}
|
||||
|
||||
G::header("location: $url");
|
||||
Reference in New Issue
Block a user