How to Decide whether to use a circumstance or decision table rule for scenarios

Hi,

Could you let me know when should we use circumstance rule and when should we use decision table.

How to decide.

Example scenario :-

customer-type Location Discount

silver US 2%

gold US 5%

Platinum US 12%

silver IND 9%

gold IND 10%

Platinum IND 67%

This can be achieved using both circumstancing and decision table. But how to decide which rule to use.

what are the differences between circumstancing and decision table. How to decide which one is best suitable.

@JANAKIRAMA

A circumstance is an optional qualification available for supported rule types and is built upon the base rule.

Decision tables are a good approach when you use a set of properties or expressions to arrive at a decision.

Hello @JANAKIRAMA

Circumstancing : If we want to some change in the rule based on time or Property .

Example: We have to make some change to the flow which is already in prod and new change should not effect the existing cases in prod.So in this scenario we can use Circumstancing based on time so based on the the time it will pick the new flow for new cases and old flow for old cases.

Based on some dropdown value we can to display the respected sections. So in this scenario we will create the section with circumstanced property

Decision Table : Based on the different Params if we want to set the response Value .

For example If Gold Rate is 30 And Category A Then Display ABC Value

If Gold Rate is 30 and Category B then dislay BCA Value

Based on different conditions if we want to display the response based of if else conditions then we can go for decision table.