Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
8 subscribers
Views
1368 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, I have a use case where I need to retrieve all the rules in a selected
vishnuv
A Score Level 1
over 9 years ago
Hi,
I have a use case where I need to retrieve all the rules in a selected folder and then show them in a dropdown on a form.
Any help on this would be much appreciated.
Thanks,
Vishnu.
OriginalPostID-201000
OriginalPostID-201000
Discussion posts and replies are publicly visible
0
chetany
A Score Level 1
over 9 years ago
As far as I know, there is no way to achieve this directly.
You may try creating a Appian plugin for that purpose, since there are APIs for rules/constants.
Please check the ContentService Interface, Content class and Rule class. These are relevant to your use-case.
Here is the link to Java docs:
forum.appian.com/.../
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 9 years ago
Check the method getAllChildren() in ContentService Interface. You can get children of a folder and filter them according to ContentType. There is a class called as ContentFilter. You can use ContentFilter.RULES as filter value while calling getAllChildren()
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vishnuv
A Score Level 1
over 9 years ago
Thank you for the response, Chetan. Let me check once with what you have suggested.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel