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
7102 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
Parents
0
brettf
over 8 years ago
To add on here - there have been times with PROD maintenance that might require accessing a PV directly from a SAIL form. For example, if you are maintaining an Appian instance that has been in PROD for a long time, there might be forms or expression rules that are called without named parameters (such as rule!testrule(pv!input1, pv!input2) rather than rule!testrule(input1: pv!input1, input2: pv!input2).
When this happens, adding extra inputs to the expression rule will break any process instances already in PROD, so you can use PV! directly on the SAIL form to access the variable. However, this is not a preferred method of doing it, and as @stefanh mentioned, becomes extremely tedious to maintain in the long-term. Especially for new development / applications not in PROD, the traditional inputs should be the only variables accessed on a form.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
brettf
over 8 years ago
To add on here - there have been times with PROD maintenance that might require accessing a PV directly from a SAIL form. For example, if you are maintaining an Appian instance that has been in PROD for a long time, there might be forms or expression rules that are called without named parameters (such as rule!testrule(pv!input1, pv!input2) rather than rule!testrule(input1: pv!input1, input2: pv!input2).
When this happens, adding extra inputs to the expression rule will break any process instances already in PROD, so you can use PV! directly on the SAIL form to access the variable. However, this is not a preferred method of doing it, and as @stefanh mentioned, becomes extremely tedious to maintain in the long-term. Especially for new development / applications not in PROD, the traditional inputs should be the only variables accessed on a form.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data