Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Verified Answer
+1
person also asked this
people also asked this
Replies
22 replies
Subscribers
7 subscribers
Views
8418 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
with() declarations refresh on any user action regardless of connection
marky
over 8 years ago
Hello:
I have noticed that anything declared in a with will get refreshed on any action the user takes on an interface, even if the with is unrelated to the action (such as a summary section at the top of the screen and a comments text box at the bottom, with no connection between the two).
Is this expected behavior for Appian?
It seems like with declared variables/rules/components should only refresh if one of the input variables changes.
If you see in the attached interface, changing the value in the textbox is refreshing the with variable, even though they are not related.
OriginalPostID-251823
example_interface.txt
Discussion posts and replies are publicly visible
Top Replies
marky
over 8 years ago
+1
I already know how to refactor the code, so thank you for the suggestions. The problem is that I doubt more than 10% of Appian developers actually understand the way with() scope works. So I ask which…
Parents
0
Josh
Certified Lead Developer
over 8 years ago
@Mark you can refactor your code to use load() variables instead of with() variables and target reevaluations for certain variables based on certain actions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Josh
Certified Lead Developer
over 8 years ago
@Mark you can refactor your code to use load() variables instead of with() variables and target reevaluations for certain variables based on certain actions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data