Discussion

3
Replies
475
Views
Garry Wallace (GWALLACE)
Decision Consultant Solutions
Lead System Architect
Decision Consultant Solutions
GB
GWALLACE Member since 2012 2 posts
Decision Consultant Solutions
Posted: May 18, 2016
Last activity: June 28, 2016
Posted: 18 May 2016 6:29 EDT
Last activity: 28 Jun 2016 6:43 EDT
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.