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
5 subscribers
Views
2114 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I've noticed that if an interface calls a rule containing a load() function
Chris
over 9 years ago
I've noticed that if an interface calls a rule containing a load() function with local variables, the rule's local vars do not get updated when the parent interface refreshes. However if I use ri!'s only, the values are updated. Is there any way to force a sub rule's local variables to be refreshed when the parent interface is? This shows the input changes are realized but the local variables do not get re-evaluated. Not sure if it is possible for force local variables to be updated?
Sub rule, does NOT update:
= load(
local!data: ri!data,
a!textField(
label: "data",
value: local!data,
labelPosition: "ADJACENT",
disabled: true
)
)
DOES Update:
= load(
local!data: ri!data,
a!textField(
label: "data",
value: ri!data, /* only change is using ri! instead of local! */
labelPosition: "ADJACENT",
disabled: true
)
)
Parent Interface:
load(
local!data: "test",
a!formLayout(
l...
OriginalPostID-165491
OriginalPostID-165491
Discussion posts and replies are publicly visible
Parents
0
Chris
over 9 years ago
...abel: "Data",
firstColumnContents: {
a!textField(
label: "data",
labelPosition: "ADJACENT",
value: local!data,
saveInto: local!data,
refreshAfter: "UNFOCUS"
),
rule!chris_testUpdateRule(
data: local!data
)
},
secondColumnContents: {}
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Chris
over 9 years ago
...abel: "Data",
firstColumnContents: {
a!textField(
label: "data",
labelPosition: "ADJACENT",
value: local!data,
saveInto: local!data,
refreshAfter: "UNFOCUS"
),
rule!chris_testUpdateRule(
data: local!data
)
},
secondColumnContents: {}
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data