Merged in bugfix/HOR-2708 (pull request #5434)
HOR-2708 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -68,19 +68,12 @@ class Light
|
||||
$task->setFormatFieldNameInUppercase(false);
|
||||
$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();
|
||||
$response = array();
|
||||
foreach ($processList as $key => $processInfo) {
|
||||
$tempTreeChildren = array ();
|
||||
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['processId'] = $processInfoChild['pro_uid'];
|
||||
$tempTreeChild['taskId'] = $processInfoChild['uid'];
|
||||
|
||||
Reference in New Issue
Block a user