Merge branch 'release/3.2' of bitbucket.org:colosa/processmaker into bugfix/HOR-2762
This commit is contained in:
@@ -68,19 +68,12 @@ class Light
|
|||||||
$task->setFormatFieldNameInUppercase(false);
|
$task->setFormatFieldNameInUppercase(false);
|
||||||
$task->setArrayParamException(array("taskUid" => "act_uid", "stepUid" => "step_uid"));
|
$task->setArrayParamException(array("taskUid" => "act_uid", "stepUid" => "step_uid"));
|
||||||
|
|
||||||
$webEntryEvent = new \ProcessMaker\BusinessModel\WebEntryEvent();
|
|
||||||
$arrayWebEntryEvent = array();
|
|
||||||
$allWebEntryEvents = $webEntryEvent->getAllWebEntryEvents();
|
|
||||||
foreach ($allWebEntryEvents as $webEntryEvents) {
|
|
||||||
$arrayWebEntryEvent[] = $webEntryEvents["ACT_UID"];
|
|
||||||
}
|
|
||||||
|
|
||||||
$step = new \ProcessMaker\Services\Api\Project\Activity\Step();
|
$step = new \ProcessMaker\Services\Api\Project\Activity\Step();
|
||||||
$response = array();
|
$response = array();
|
||||||
foreach ($processList as $key => $processInfo) {
|
foreach ($processList as $key => $processInfo) {
|
||||||
$tempTreeChildren = array ();
|
$tempTreeChildren = array ();
|
||||||
foreach ($processList[$key] as $keyChild => $processInfoChild) {
|
foreach ($processList[$key] as $keyChild => $processInfoChild) {
|
||||||
if (!in_array($processInfoChild['uid'], $arrayWebEntryEvent) && in_array($processInfoChild['pro_uid'], $bpmnProjects)) {
|
if (in_array($processInfoChild['pro_uid'], $bpmnProjects)) {
|
||||||
$tempTreeChild['text'] = $keyChild; //ellipsis ( $keyChild, 50 );
|
$tempTreeChild['text'] = $keyChild; //ellipsis ( $keyChild, 50 );
|
||||||
$tempTreeChild['processId'] = $processInfoChild['pro_uid'];
|
$tempTreeChild['processId'] = $processInfoChild['pro_uid'];
|
||||||
$tempTreeChild['taskId'] = $processInfoChild['uid'];
|
$tempTreeChild['taskId'] = $processInfoChild['uid'];
|
||||||
|
|||||||
Reference in New Issue
Block a user