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
7565 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
Josh
Certified Lead Developer
over 8 years ago
Do you need to pass in the text name of the rule or can you pass in a rule reference? If it is the latter you can pass a rule "rule!myRule" into a sub rule that has an Any Type parameter. In the sub rule you would invoke the dynamic rule by calling "ri!myDynamicRule()"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Josh
Certified Lead Developer
over 8 years ago
Do you need to pass in the text name of the rule or can you pass in a rule reference? If it is the latter you can pass a rule "rule!myRule" into a sub rule that has an Any Type parameter. In the sub rule you would invoke the dynamic rule by calling "ri!myDynamicRule()"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data