Discussion on rules

I calculated the driver age and passed two status approved and rejected .but it always ending in rejection if the age is valid .i provided a condition after decision table ,in edge like if status is approval go to this way or rejected then this way but always ending in rejection even after providing valid age.why?

Hello @navaneethck_10 ,Could you please provide the screenshots to understand issue properly??


in this decision table 2 iam providing age status as approved or rejected ok,if it is rejected then iam ending the workflow so in the path edge iam checking in the condition that agestatus = rejected then end the flow otherwise move forward but in the condition the agestatus output is not getting that i passed in previous script rule so how i fix this it is always ending in rejection

what i want to do is if age status is rejected then end the workflow or if age status is approved got with flow ,age status is not getting available in the path condition,i already provided agestatus as output in model editor of the decision table before this path condition

1 Like

Hello @navaneethck_10,
Based on the details you shared and the answer you’re looking for, you need to use a knockout rule. You can apply the knockout condition after the decision table — if it is approved, the flow will continue; otherwise, it will end with the result from the decision table. Essentially, you’ll apply one knockout condition for the approved path and another for the rejected path.

1 Like