Search in decision table

Hi All,

Can some one help me on how to write a when condition which evaluates to true if a particular value is present in a decision table? what function I should use, if any sample rule can be given it would be helpful

@MinuJ214

  1. Configure when rule with necessary parameters for the decision table to execute and add advance condition as,

[Expression evaluates to true]

  1. Use function to call Decision table,

@(Pega-RULES:DecisionTable).ObtainValue(tools,Primary,Decision Table Name,true)

  1. Configure Decision table as below example,

When ever the Product Code has table value, When rule will evaluates to true.

I hope you find this helpful :slight_smile:

Thanks

@SWATHI SRINIVAS Thanks, It worked