- Mon Nov 13, 2017 4:02 am
#796118
Hello,
I have combined a XOR gateway with an OR gateway behind the XOR.
Both gateways will be controlled by two different form values.
If the first value is selected so that the XOR choose the way where the OR gateway isn't behind, all works fine.
If the first value is selected so that the XOR choose the way with the OR gateway behind and the second value is selected so that only one way behind the OR gateway is choosen, all works fine. But if I select the second value in the form so that two or more ways of the OR gateway willbe choosen by it, it fails with a failure "Process definition error: All conditions in parallel evaluation routing rule evaluated to false, so workflow has stopped. Please change the definition of the parallel evaluation routing rule." And also a PHP Failure: "Warning: array_combine(): Both parameters should have an equal number of elements in /opt/processmaker/workflow/engine/src/ProcessMaker/Core/RoutingScreen.php on line 115"
Than I discovered that if I change the XOR gateway to an OR gateway, all works fine.
It seems to me that in the combination of XOR and OR gateway the OR gateway works as a XOR gateway.
Is it a bug or my fault? Thanks and kind regards
I have combined a XOR gateway with an OR gateway behind the XOR.
Both gateways will be controlled by two different form values.
If the first value is selected so that the XOR choose the way where the OR gateway isn't behind, all works fine.
If the first value is selected so that the XOR choose the way with the OR gateway behind and the second value is selected so that only one way behind the OR gateway is choosen, all works fine. But if I select the second value in the form so that two or more ways of the OR gateway willbe choosen by it, it fails with a failure "Process definition error: All conditions in parallel evaluation routing rule evaluated to false, so workflow has stopped. Please change the definition of the parallel evaluation routing rule." And also a PHP Failure: "Warning: array_combine(): Both parameters should have an equal number of elements in /opt/processmaker/workflow/engine/src/ProcessMaker/Core/RoutingScreen.php on line 115"
Than I discovered that if I change the XOR gateway to an OR gateway, all works fine.
It seems to me that in the combination of XOR and OR gateway the OR gateway works as a XOR gateway.
Is it a bug or my fault? Thanks and kind regards