Discussion

3
Replies
473
Views
GWALLACE Member since 2012 2 posts
Decision Consultant Solutions
Posted: 4 years ago
Last activity: 4 years 2 months ago
Closed

Return only latest rule versions via Obj-Browse

I'm currently working on a project where the customer would like to see all When Rules used in our Decisioning work displayed in a User portal.

For this, I am using an Obj-Browse on the Rule-Obj-When class, with various criteria entered to ensure I only retrieve from the custom Ruleset that we have saved our decisioning rules in.

So far, this is working in that I am now able to display all when rules used in our decisioning engine in a repeat grid. However, I noticed a lot of 'duplicates' in my list. (Not actually duplicates, as it is retrieving all versions of all rules).

Is there a way that I can ensure I only return the latest version of each rule?

i.e. 

Obj-Browse returns two versions of Rule A:

Rule A - Ruleset: 01-01-01

Rule A-  Ruleset: 01-01-02

I only want to display Rule A version 01-01-02 to the end user

Moderation Team has archived post
Share this page LinkedIn