Decision Table "Default Answer" Issue

Mukesh Khanna P
Tera Expert

I'm having a decision table which returns assignment group based on checking the condition using string input fields. The decision based on condition are working correctly and sends the assignment group to the script where it is called, but I'm having a requirement to have a default group when all the conditions are failed. I've setup the default value, but the decision table is returning empty/null value when all conditions fail, why is this happening! There is no complex logic/decision criteria involved in my scenario, but still the default answer which is OOTB functionality is not working correctly. 

I really appreciate any help on the above mentioned issue, thanks in advance!

1 ACCEPTED SOLUTION

I agree, there is a bug in decision table UI. If you make any changes to existing decision table, once publishing the drafted version, navigate to "sys_decision_question" table and search for the questions associated to your decision table, add "Active" field to the list view and validate if there is any questions marked as "Active = False".

 

If yes, make all the questions to "Active = True" and check it now, the decision table is returning the default answer.

This is definitely a bug that happens while publishing the drafted version for decision table which makes the decision questiosn as "Active = False".

View solution in original post

13 REPLIES 13

Hello @Mukesh Khanna P ,

Didn't got your questions.

refer below where the default answer is given

ValmikPatil1_0-1734609535297.png

Please share screen shot of decision table which you have created.

Thanks,

Valmik

 

Here is my decision table, I've hided the values, but the problem is the decision table is having default value, but in the decision table condition list view, the question with default value as "True" is marked as active false, I'm seeing this for some more conditions questions as well, why is this marked as active false when it is there in decision table?


Hello @Mukesh Khanna P ,

 

If it is active false , then it will not work 

and if none of the condition work then default group will be selected.

 

Thanks,

Valmik Patil

I don't think you understand the issue that I'm facing in the decision table, @Omkar Kumbhar can you please lookup the above image and let me know why this decision tabe is behaving in this way, thanks in advance!

Instead of showing values, which isn't the topic here, show the test where it returns the default value. Because tests are showing that no default value is returned.

Click Test, add an "instance type" that does not exist in the list...

It fails.