Merged in zeitmaster/processmaker/HOR-1246 (pull request #4379)
HOR-1246
This commit is contained in:
@@ -1010,6 +1010,12 @@ class BpmnWorkflow extends Project\Bpmn
|
|||||||
$routeType = "SEQUENTIAL";
|
$routeType = "SEQUENTIAL";
|
||||||
$routeCondition = "";
|
$routeCondition = "";
|
||||||
$routeDefault = 0;
|
$routeDefault = 0;
|
||||||
|
// The result value returns zero if the element is already mapped as a route
|
||||||
|
// we need to add this to fix cases of recursion if an already element has been mapped.
|
||||||
|
// like a loop for example.
|
||||||
|
if ($result === 0 ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Flows
|
//Flows
|
||||||
|
|||||||
Reference in New Issue
Block a user