The CreatorCon Call for Content is officially open! Get started here.

Shamma Negi
Kilo Sage
Kilo Sage

Hi All,

 

Today I would cover how to handle Decision table efficiently, Here I will cover the below queries/questions:

 

Question#1: Can we change the decision table entries directly on PROD?

Answer: We shouldn't change the entries of decision table on PROD. As changing the entries of decision table impact the changes on flow designer. If you change any result entries on Decision table it would impact the flow designer branches as shown below:

 

Decision table and Flow Designer before changes:

 

ShammaNegi_0-1727461215285.png

 

ShammaNegi_1-1727461293505.png

 

 

Now, I am changing the number of days for United Kingdom from 365 to 364. Now look at the change at Flow after refreshing:

 

ShammaNegi_2-1727461485123.png

 

 

Question#2: How to fix "This answer is deleted" row from the flow designer?

Answer: By default, if you delete any result row from the decision table or if you change the value in any result row. Then in the flow it automatically changes it to "Answer is deleted" and you cannot delete that row from flow designer hence to resolve this and remove it from flow designer.

 

In order to fix this, you have to go to flow and change the decision table in action "Make a Decision". Then it will refresh the flows and put the entries based on decision table entries.

 

Now you cannot delete the "Answer is deleted" from Flow. See below:

 

ShammaNegi_3-1727461558710.png

 

 

In order to delete it from the flow you have to go a "Make a decision" action and change the decision table from drop down:

 

ShammaNegi_5-1727461667292.png

 

 

You have to change the decision table here. While changing you will see the below dialog box as a warning from ServiceNow. Because if you delete the decision table here it will impact the below actions which are using its reference.

 

ShammaNegi_4-1727461654054.png

 

Click Ok and change the decision table then you will see the "Answer is deleted" error will be removed.

ShammaNegi_6-1727461824908.png

 

 

 

 

Question#3: What is the use of include otherwise checkbox in "Make a Decision" action in ServiceNow?

Answer: This will add otherwise row in the flow, so it works as an "else" condition, so it adds the otherwise row in the flow. See the screenshot below:

 

 

ShammaNegi_7-1727461847651.png

 

 

 

Hope this helps you!

Please mark this content as helpful.

 

Regards,

Shamma

2 Comments