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))

Web3 development encompasses creating decentralize[…]

The Upland Clone Script, offered by Dappsfirm, rep[…]

Dappsfirm offers a bet365 clone script that mirror[…]

🚀 Tauchen Sie mit Immediate Alora AI in die Welt d[…]