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
11 replies
Subscribers
7 subscribers
Views
7105 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Process Variables in SAIL form
Soumya.Behera
over 8 years ago
I saw some existing application with existing forms having process variables mentioned as in "pv!some_variable". But, while executing the process which includes the form, there is no exception/error/warning. Shouldn't it be a problem, or did I miss something to check? Any clarification will be a great help.
Thanks in advance
OriginalPostID-261227
Discussion posts and replies are publicly visible
0
Ben Edwards
A Score Level 3
over 8 years ago
Agreed with everyone that this is not best practice. It requires more maintenance in the future for the cases when issues occur with in-flight processes as well as becomes difficult to debug and re-factor. It would be much simpler to update a rule instead of a process in the future.
There are tricky things that can happen when you call a rule inside another rule and use a variable initialized in the parent as well. As long as a variable is in scope, like it is for a pv! and the interface described in this issue, it can be used. However, just because something is in scope it is not recommended due to issues discussed in this thread.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<