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
12 replies
Subscribers
7 subscribers
Views
5584 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
How to modify expression rule without break compatibility
Amir Hanif
Certified Lead Developer
over 7 years ago
I have an expression rule formatList that takes 1 parameter formatList(markets). Now I want to modify this rule by adding one more parameter param2 { formatList(markets,param2) }. This expression rule is being used in a process model. If I add new parameter in this rule it will cause exception (formatList has 2 parameters, but instead passed 1 parameters) in inflight process model ( process already started and not completed). Is there any way to avoid this exception? do I have to create new expression rule instead of modify existing one?
OriginalPostID-239110
Discussion posts and replies are publicly visible
Parents
0
TJ
A Score Level 2
over 7 years ago
Yes, I am afraid.
The measure, I described is preventive and not curative. I suppose your application is live hence you are skeptical to change the process model.
Please follow above measure as well as creating unit test cases to ensure your expression rules are stable for future changes.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
TJ
A Score Level 2
over 7 years ago
Yes, I am afraid.
The measure, I described is preventive and not curative. I suppose your application is live hence you are skeptical to change the process model.
Please follow above measure as well as creating unit test cases to ensure your expression rules are stable for future changes.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data