Questions and discussion about using ProcessMaker: user interface, running cases & functionality
#790525
I am getting fatal error and the workflow is not routing to the next condition

Route to Step 1 ------- (@@bmappr==1 && @@caloanamt <=500000) && (@@mitigantdet=="NO" && @@manualexcp=="NO")

Route to Step 2 -------- (@@mitigantdet=="YES" && @@manualexcp=="YES") || (@@bmappr==1 && @@caloanamt >=500001)

now as per my workflow manualexcp ="YES" and it should go to STEP 2 .

Can you guide me whats the wrong with the condition .
#790545
If you are getting a fatal error, then you probably are misspelling the name of one of your variables (remember that these variables are case sensitive) or you are skipping the DynaForm where the variables are defined. If you are skipping the DynaForm, then you might want to create a trigger before assignment that checks whether the variables have been set:
Code: Select all
if (!isset(@%bmappr)) {
   @%bmappr = 0;
} 
if (!isset(@%caloanamt)) {
   @%caloanamt = 0;
} 
if (!isset(@%mitigantdet)) {
   @@mitigantdet = '';
} 
if (!isset(@%manualexcp)) {
   @@manualexcp = '';
} 
Also you might want to use the correct type when evaluating numbers and enclose everything in parentheses to make sure that they are all evaluated:
(@%bmappr==1 && @%caloanamt <= 500000 && @@mitigantdet=="NO" && @@manualexcp=="NO")

((@@mitigantdet=="YES" && @@manualexcp=="YES") || (@%bmappr==1 && @%caloanamt >=500001))
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]