| @@ 426-434 (lines=9) @@ | ||
| 423 | $joinSteps = []; |
|
| 424 | $joinSteps[] = $step; |
|
| 425 | ||
| 426 | foreach ($currentSteps as $currentStep) { |
|
| 427 | if ($currentStep->getId() !== $step->getId()) { |
|
| 428 | $stepDesc = $wf->getStep($currentStep->getStepId()); |
|
| 429 | ||
| 430 | if ($stepDesc->resultsInJoin($join)) { |
|
| 431 | $joinSteps[] = $currentStep; |
|
| 432 | } |
|
| 433 | } |
|
| 434 | } |
|
| 435 | ||
| 436 | $historySteps = $store->findHistorySteps($entry->getId()); |
|
| 437 | ||
| @@ 438-446 (lines=9) @@ | ||
| 435 | ||
| 436 | $historySteps = $store->findHistorySteps($entry->getId()); |
|
| 437 | ||
| 438 | foreach ($historySteps as $historyStep) { |
|
| 439 | if ($historyStep->getId() !== $step->getId()) { |
|
| 440 | $stepDesc = $wf->getStep($historyStep->getStepId()); |
|
| 441 | ||
| 442 | if ($stepDesc->resultsInJoin($join)) { |
|
| 443 | $joinSteps[] = $currentSteps; |
|
| 444 | } |
|
| 445 | } |
|
| 446 | } |
|
| 447 | ||
| 448 | $jn = new JoinNodes($joinSteps); |
|
| 449 | $transientVars['jn'] = $jn; |
|