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
8 replies
Subscribers
9 subscribers
Views
7559 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Execute rules dynamically
Dhiraj Kumar
over 8 years ago
Is there a way to execute rules in appian dynamically ?
Example execute ( <<rule Name>> , Map of parameters (<<key>> , <<Value >> ) ) .
Instead of static definition and checking rule name we want to dynamically invoke rules . So if i have the name of the rule i want to call the rule at run-time instead at compile time .
If there a handle on the uuid and we can execute the rule then it is possible .
OriginalPostID-268793
Discussion posts and replies are publicly visible
Parents
0
Poorna Guduri
A Score Level 1
over 8 years ago
Hi Dhirajk, I don't think there is a direct approach for the same. But I have come across similar situation where I went for hierarchy of rules. Meaning that, I have created a top level rule which will have a Text type rule input parameter - for rule name and list of parameters (the list should cover all the parameters for all the expected rules that may be passed). It is like calling a rule by name but within another rule but with this approach we would need to know the list of parameters before hand. It is not the exact dynamic functionality that fits as a solution to your problem statement.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Poorna Guduri
A Score Level 1
over 8 years ago
Hi Dhirajk, I don't think there is a direct approach for the same. But I have come across similar situation where I went for hierarchy of rules. Meaning that, I have created a top level rule which will have a Text type rule input parameter - for rule name and list of parameters (the list should cover all the parameters for all the expected rules that may be passed). It is like calling a rule by name but within another rule but with this approach we would need to know the list of parameters before hand. It is not the exact dynamic functionality that fits as a solution to your problem statement.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data