In Pega - Decision table will return the values row wise, if we can have conditions on columns, it should follow logical AND between the properties/columns on each row by default. can we have logical OR between the columns, I mean to say it has to ignore column one and validate the condition two. Example it has to return F(Ignore),T = result.
I need to expose/delegate the same decision table for end business users, this can be done but it has to return the values F(Ignore),T conditional properties all the time.
Can you reverse the logic? Return false (or “exclude”) . Then everything that falls through to Otherwise condition will be those that meet your criteria. However, your question implied this is part of a larger, more complex condition. If so, the downside is you might need a separate table for this part. Upside: it might be easier for the next developer to understand the logic. Be sure to look at performance considerations for this approach.
Let me explain the exact requirement, I have one Decision Table have two columns as properties one for medicine name and other for unique identifier of the medicine and it always returns based on the medicine name and unique identifier match values. It is exposed to have modification on row values in portal I mean to say delegated.
Now, my requirement is to ignore column one (medicine name) and based on column 2 (unique identifier) it must return the value if no match with unique identifier it need to return otherwise. IS THIS POSSIBLE?
Note: We cannot delete the Column one medicine name.
@Nagarjuna Reddy Mandati
I think you can’t do this operation instead of doing this you can utilise the expressions or best thing is Decision tree for nested logics.
Yes, it’s not possible to have Logical OR directly between the columns in decision table. Based on copilot response, I tried to have a custom function in column to have a condition always true. This approach will not work because it expects to have a property.