| @@ 457-465 (lines=9) @@ | ||
| 454 | $joinSteps = []; |
|
| 455 | $joinSteps[] = $step; |
|
| 456 | ||
| 457 | foreach ($currentSteps as $currentStep) { |
|
| 458 | if ($currentStep->getId() !== $step->getId()) { |
|
| 459 | $stepDesc = $wf->getStep($currentStep->getStepId()); |
|
| 460 | ||
| 461 | if ($stepDesc->resultsInJoin($join)) { |
|
| 462 | $joinSteps[] = $currentStep; |
|
| 463 | } |
|
| 464 | } |
|
| 465 | } |
|
| 466 | ||
| 467 | $historySteps = $store->findHistorySteps($entry->getId()); |
|
| 468 | ||
| @@ 469-477 (lines=9) @@ | ||
| 466 | ||
| 467 | $historySteps = $store->findHistorySteps($entry->getId()); |
|
| 468 | ||
| 469 | foreach ($historySteps as $historyStep) { |
|
| 470 | if ($historyStep->getId() !== $step->getId()) { |
|
| 471 | $stepDesc = $wf->getStep($historyStep->getStepId()); |
|
| 472 | ||
| 473 | if ($stepDesc->resultsInJoin($join)) { |
|
| 474 | $joinSteps[] = $currentSteps; |
|
| 475 | } |
|
| 476 | } |
|
| 477 | } |
|
| 478 | ||
| 479 | $jn = new JoinNodes($joinSteps); |
|
| 480 | $transientVars['jn'] = $jn; |
|