Posted: 18 May 2016 6:29 EDT Last activity: 28 Jun 2016 6:43 EDT
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?
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
Share this page
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.
Posted: 6 years ago
Posted: 18 May 2016 10:20 EDT
Garry Wallace (GWALLACE)
Lead System Architect