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
5 replies
Subscribers
8 subscribers
Views
1444 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
When trying to update a cdt using impact analysis I get several error messages l
moritzw
over 11 years ago
When trying to update a cdt using impact analysis I get several error messages like the following:
processModel 0002d567-6188-8000-0d1c-680000680000 597 "blabla": The processModel [id=597 uuid=0002d567-6188-8000-0d1c-680000680000] was not imported because a required reference is missing: Reference to content [_a-0000d4ec-d0e6-8000-0d1b-680000680000_472] cannot be found. (APNX-1-4070-000) (APNX-1-4071-006)
I exported the application and had a look at the process XML. It turns out that there seems to be historical entries of an expression on one form. One of those historical expression references a constant that got deleted. I cannot even see this entry in forms designer anymore, so I cannot get rid of the bad reference.
What can I do to cleanup my process models?...
OriginalPostID-42397
OriginalPostID-42397
Discussion posts and replies are publicly visible
0
moritzw
over 11 years ago
I was thinking about deleting old process versions. If I open up File -> Versions and delete some of them, close the dialog and reopen it, the versions are still there. I also tried using the smart service from forum. It deleted a bunch of versions, but kept more than the last 5 as I specified.
What could be the reason that I am not allowed to delete those versions?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
There is a good chance that the deleted constant is still referenced in your process model. If you delete a constant, the reference to the constants in your models are not automatically corrected. This also leads to one of Appians best practice on not deleting constants if any of the active instances were referencing to them. Since you know the process model that uses the constant, can you traverse the XML tree to find out where exactly its being used and check within your model if that's the case?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
moritzw
over 11 years ago
Thanks! I already found the referenced constant in my process model. However I cannot see the reference in the actual designer on the latest process model version. So I guess it is a reference to an older version. Thus I am trying to delete the older versions now, but have problems doing so. See my comments above for details.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
When you export a process model, only the last published version gets exported. So I am still guessing that your process model has some reference to this deleted constant. Versions are not exported when you export the process model. Hope this helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
moritzw
over 11 years ago
I see. Then I am even more confused. In the process xml I see in one of the form-element tags the reference to the missing constant, in the part where the expression for the default value is configured. It looks something like this:
<expressions>
<tv>
...
</tv>
<tv>
...
</tv>
<tv>
...
</tv>
</expressions>
Only the second entry shows the expression that is actually being shown in forms designer. I cannot see the other expressions in the tv tags at all.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel