Discussion
Last activity: 6 Apr 2016 9:00 EDT
Rule set is not visible when trying to save as the rule
PRPC 7.1.7
Rule set is not visible when trying to save as the rule
There is frame work rule set that doesn’t display when save as the data transform rule. I have checked below areas.
1. Particular class doesn’t have any rule set restriction.
2. Rule set has been included in frame work application stack.
3. There is unlocked version available in rule set.
I am struggling to reveal logic here. Please help if possible.
Thanks in advance


Areteans Technology
IN
Thank you very much for replying.
Yes. When i change the class(I changed the pattern which means remove the tail part of class) it displays the rule set.
As i mentioned above there is no any restriction we have made in class or application.
Hi any one help me
Try to save as the binary file and create new binary rule
In both cases i am not able to find ruleset and ruleset version...
what may be the reason


Pegasystems Inc.
IN
please share your observations after commenting the step in activity rule pzFilterAvailableRuleSetVersionsForRecord in private edit.
note: login and logout is required after commenting the step.
Not able to saveas and create rule in @baseclass.
No ruleset versions are appering even though there are unlocked ruleset versions and application stack is also seems ok. but not able to save rule from @base class
Please help out
Hi Sahu,
After commenting step from pzFilterAvailableRuleSetVersionsForRecord activity ruleset versions are appering :)
but how can i fix in my application


Pegasystems Inc.
IN
is the application upgraded from 6x series to Pega 7?
if yes... could you please refer to additional components folder in PRPC distribution folder to run additional SQL scripts.
otherwise please raise an SR.
Updated: 6 Apr 2016 9:00 EDT
By default pega calls GetRuleSetDetails activity to identify the list of ruleset which it need to display
This activity calls GetAppRuleSets activity - At Step 6 of this activity checks if the ruleset is visible from the class by using below mentioned API. Which would eliminate any rulesets which are not visible. I am not sure how this API determines it.
isClassVisible
boolean isClassVisible(java.lang.String aClassName)
Indicates whether a particular class is visible to the rule being edited (according to the list of rulesets).
Parameters:
aClassName - the name of the class
Returns:
true iff the class is visible
Also check this link
https://pdn.pega.com/support-articles/case-type-creation-new-ruleset-not-shown
Did you try to change the class or ruleset of the rule belongs to in a save as operation ?
thanks,
Ashok