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
5 replies
Subscribers
7 subscribers
Views
2004 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Is it possible to create a rule that has a function as a rule input? I'm try
Jason Ruvinsky
Certified Senior Developer
over 8 years ago
Is it possible to create a rule that has a function as a rule input? I'm trying to create an accessible version of the a!pickerFieldCustom, but I'm not sure it's possible for a rule to be able to take in a suggestFunction the same way this SAIL function does.
In a test, I get this error: "Expression evaluation error at function fn!error [line 23]: Rule References cannot be passed as rule inputs"
Does anyone know any clever ways around this limitation? Otherwise I'll need to copy-paste a ton of code with minor changes for each possible suggest function we use, I'd much rather have a generic version of the rule that can be plugged in wherever we use an a!pickerFieldCustom.
OriginalPostID-206210
OriginalPostID-206210
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 8 years ago
@jasonr Ah I see, anyhow, good to hear that it worked. I have made use of the similar approach while building a reusable paginated editable grid, where the rows attribute behaves as a rule input and possess the capability to accept the rule.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 8 years ago
@jasonr Ah I see, anyhow, good to hear that it worked. I have made use of the similar approach while building a reusable paginated editable grid, where the rows attribute behaves as a rule input and possess the capability to accept the rule.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data