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
17 replies
Subscribers
6 subscribers
Views
4715 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi all, I am trying to import an application built in 7.11 into a 7.1
rachelz585
over 7 years ago
Hi all,
I am trying to import an application built in 7.11 into a 7.10 environment. I modified the MANIFEST.MF file to read 7.10.0.0. When I try and import my application I get several errors like the following:
An error occurred while creating content [uuid=391064b3-1c32-4113-9ee9-31c064301330]: java.lang.IllegalArgumentException: Invalid TestData object specified: TestData [TestDataId [objectUuid=391064b3-1c32-4113-9ee9-31c064301330, objectVersionId=33451, objectType={http://www.appian.com/ae/types/2009}ContentFreeformRule], testData=TypedValue[it=2141,v={{{{<null>,reportNames},{TypedValue[it=3,v=],chosenRptName},{TypedValue[it=1,v=<null>],index},{TypedValue[it=3,v=],chosenRptObjConfig},{TypedValue[it=1,v=<null>],flag},{<null>,reportNamesLabels},{<null>,searchFilterList}}}}]] (APNX-1-4071-007)
Does anyone have an insight to this problem?
Much thanks,
Rachel
OriginalPostID-214138
OriginalPostID-214138
Discussion posts and replies are publicly visible
0
sikhivahans
over 7 years ago
@rachelz Hi, to the best of my knowledge, what you have been trying to do isn't possible. You can only import the application into an environment that makes use of 7.11 or above. Also as far as my knowledge is considered, manifest file just provides us with the information re the version of Appian in which the build took place and changing it won't have any significance.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Lakshmi Meyyappan
over 7 years ago
In 7.11, Test Cases were added to Expression Rules (see the 7.11 Release Notes
forum.appian.com/.../Appian_Release_Notes.html
. It looks like you have a rule that has a test case saved, but 7.10 doesn't support it. I would try removing the test case and then exporting again.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Lakshmi Meyyappan
over 7 years ago
That being said, it's not recommended to import to an older environment. It can be done by modifying the export, as you have found, however it's better to upgrade the second environment so that you can import the application as-is.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rachelz585
over 7 years ago
Yes, I did notice that was the case on one rule, but no test cases are saved for the rest.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
To add some more information, 'Cautions' section in the Application Deployment Guidelines Topic in the documentation reads as follows: "Application packages from an earlier version can be imported by later versions. Packages exported from later versions of Appian are not compatible for importing into prior versions."
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Paul Mayeur
Appian Employee
over 7 years ago
Backward import is not supported by Appian
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sachin Pandey
A Score Level 1
over 7 years ago
Backward compatibility is not supported in Appian.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rachelz585
over 7 years ago
Hi again all,
Just wanted you to know that I was able to successfully import all objects by modifying their xml files from <name>RuleTestConfig?List</name> to <name>RuleTestConfig</name>
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
1. Offcially, Appian does not support importing applications developed on a newer version to an older version environment.
2. But, it is possible to do so. You can edit the Manifest.MF file in the package and edit the version. This will basically bypass the check that Appian makes for version check.
Then, as next step you can remove features which are supported in new version of Appian but not in old version.
3. For this case, you can remove the TestCases from the expression rules.
If it still gives an error, then the solution by Rachel of editing the xml and removing the testConfig also works.
This is not officially supported but it can be useful when you do want to import on older version.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
Out of curiosity, I would like to ask a question here. Does this mean that we need to remove the features of the later version so that it matches the prior version? For instance, let's say an application was developed on 7.8 making use of a!queryProcessAnalytics(). In order to import it into 7.7, do we need to remove the references of a!queryProcessAnalytics apart from updating the Manifest file?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>