- 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 03:12 AM - edited ‎12-19-2024 03:12 AM
Hello @Mukesh Khanna P ,
Can you navigate to sys_decision_question table and make the default answer field as true for your default answer requirement. Check if it works.
Thank you,
Omkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 03:28 AM - edited ‎12-19-2024 03:35 AM
I just now saw that table and in that some conditions including the default answer true contions are marked as active false, but it is there in the decision table view. Why is this marked as active false, do I need to change that back to true? Is that the UI issue from decision table?
I'm checking a record producer as mandatory field in the decision table, will that affect the default answer as it don't have any condition there? Also I'm seeing the default answer true order as 100, if I make this active do I need to change the order to a number that comes after all conditions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 03:45 AM
Hello @Mukesh Khanna P ,
you need to add one more decision entry and make it default true.
So that if all the condition fails the default will run.
Thanks,
Valmik Patil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 03:50 AM - edited ‎12-19-2024 03:51 AM
Please answer the below question for me to understand the decision table for future use, thanks in advance!
1) I'm checking a record producer as mandatory field in the decision table, will that affect the default answer as my default answer marked question don't have any condition there?
2) Also I'm seeing the question created as (default answer true) is marked with order as 100 automatically, is that an issue or will it run at first and doesn't validate any other conditions?