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
1828 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, I'm trying to call an expression through a query result, is there a
erick258
over 8 years ago
Hi,
I'm trying to call an expression through a query result, is there any way for it to be done? Like, say, calling an expression by it's uuid?
Thanks
OriginalPostID-217820
OriginalPostID-217820
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 8 years ago
Above discussed way of invoking a rule has been present in Appian since long back in Appian Common Objects in a rule called APN_uiGridTextColumnAuto, and this has been mentioned at
forum.appian.com/.../e-206210
. In this rule we can see how Appian is trying to invoke a rule by making use of the rule input which again gets rule reference when invoked from other rules. I have tried long back passing the string as input to those rule inputs that has the capability to accept the rule references and I didn't find any luck. Attached images of the Editable Paginated Grid(which I have implemented as a Reusable Component) and they explain how the interface behaves when a string is passed to the rule input that expects rule reference. The problem here as per my knowledge is, the rule input that has the capability to accept a rule as input expects reference and when we send a string it fails to understand/obtain/derive the reference from the string and so the interface fails.
Further I have observed few issues with the above discussed approach which were mentioned by me some time ago at
forum.appian.com/.../e-169115
. And the most important problem as far as my experience is considered is, the inputs part. As each rule will be having its own unique structure in terms of inputs, it becomes quite complex to analyse the structure of rule inputs and read their content especially when the rule inputs are of various complex data types and are in array format.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 8 years ago
Above discussed way of invoking a rule has been present in Appian since long back in Appian Common Objects in a rule called APN_uiGridTextColumnAuto, and this has been mentioned at
forum.appian.com/.../e-206210
. In this rule we can see how Appian is trying to invoke a rule by making use of the rule input which again gets rule reference when invoked from other rules. I have tried long back passing the string as input to those rule inputs that has the capability to accept the rule references and I didn't find any luck. Attached images of the Editable Paginated Grid(which I have implemented as a Reusable Component) and they explain how the interface behaves when a string is passed to the rule input that expects rule reference. The problem here as per my knowledge is, the rule input that has the capability to accept a rule as input expects reference and when we send a string it fails to understand/obtain/derive the reference from the string and so the interface fails.
Further I have observed few issues with the above discussed approach which were mentioned by me some time ago at
forum.appian.com/.../e-169115
. And the most important problem as far as my experience is considered is, the inputs part. As each rule will be having its own unique structure in terms of inputs, it becomes quite complex to analyse the structure of rule inputs and read their content especially when the rule inputs are of various complex data types and are in array format.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data