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
4 replies
Subscribers
8 subscribers
Views
1439 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
This is not a question but would like to share something which might be helpful
madhanka
A Score Level 1
over 8 years ago
This is not a question but would like to share something which might be helpful for others.
Use Case: You have a CDT with few elements and a SAIL form which displays the elements. You want to add new elements to the CDT and update the new element to the SAIL form. But doing this will break the Sail form for the inflight tasks which are having the older versions of the CDT and doesn’t have the new element in it.
Example: You have a “Customer_Address” CDT with below structure
MailingAddress (Customer_Address)
Id (Number (Integer))
LineOne (Text)
LineTwo (Text)
City (Text)
State (Text)
Country (Text)
Now you want to add the element zip code to it and make it as
MailingAddress (BW_CMPO_Address)
Id (Number (Integer))
LineOne (Text)
LineTwo (Text)
City (Text)
State (Text)
Zipcode (Number (Integer))
Country (Text)
Now if you directly refer the zi...
OriginalPostID-174264
OriginalPostID-174264
Discussion posts and replies are publicly visible
Parents
0
Bob
over 8 years ago
Just getting started on SAIL forms but I have been using an integer process variable as a "version" identifier that I increment when I make a change that might have the type of effect you describe. In my case a newer version of a subprocess may get called so I pass the version variable to use in the subprocess to determine whether to include the new field or not. Has been effective in isolating changes in the portal environment so it should work as well for SAIL form code.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Bob
over 8 years ago
Just getting started on SAIL forms but I have been using an integer process variable as a "version" identifier that I increment when I make a change that might have the type of effect you describe. In my case a newer version of a subprocess may get called so I pass the version variable to use in the subprocess to determine whether to include the new field or not. Has been effective in isolating changes in the portal environment so it should work as well for SAIL form code.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data