- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 02:56 AM - edited ‎12-19-2024 02:58 AM
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2025 08:29 AM - edited ‎01-10-2025 08:32 AM
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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 04:00 AM
Hello @Mukesh Khanna P ,
Didn't got your questions.
refer below where the default answer is given
Please share screen shot of decision table which you have created.
Thanks,
Valmik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 04:24 AM - edited ‎12-19-2024 04:26 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 04:35 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 04:41 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2025 08:25 PM
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.