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
6 replies
Subscribers
7 subscribers
Views
2150 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I'm having trouble exporting\\importing an application. I'm getting an
jamesw353
over 10 years ago
I'm having trouble exporting\\importing an application. I'm getting an error (copied below) on the export. It looks like a rule that I'm referencing is not included. I've run the dependency checker and it comes back clean. I've been looking through every log, folder, backup, database, and anything else I can think of trying to find what rule 16580 is\\was, but I can't come up with anything. The process runs great, but I can't export it.
Does anyone know of any way to find what is causing the export error?
ERROR MESSAGE:
The processModel [id=1011 uuid=0049d7dc-5828-8000-ee2b-010000010000] was not exported because it contains an invalid reference: Reference to content [16580] (Process Model Expressions (Rules)) cannot be found. (APNX-1-4070-001) (APNX-1-4071-003)...
OriginalPostID-81547
OriginalPostID-81547
Discussion posts and replies are publicly visible
0
revat.anandsongkit
Appian Employee
over 10 years ago
You may want to check to see if that rule deleted.
Also consider utilizing the getcontentobjectdetailsbyid() function which is part of the 'Content Details by UUID' component in the 'Shared Components' record on Forum.
forum.appian.com/.../
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jamesw353
over 10 years ago
That's an awesome plugin. It does tell that it's missing. I think I can nail it down from here. I checked what the surrounding rules are and that narrows it down a lot.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jamesw353
over 10 years ago
That did it! Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterh
over 10 years ago
James how did you resolve this issue? The output of getcontentobjectdetailsbyid() is: "No object with this ID has been found". Doesn't help me find the missing object, it only tells me that it is missing.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterh
over 10 years ago
Found it, and figured out what you meant by checking the 'surrounding rules'. For future users: add or subtract one from the content ID and use getcontentobjectdetailsbyid() to find what was created right before and after it. That will help you narrow down when it was created and may give you a clue to its function/purpose/place.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jamesw353
over 10 years ago
That's exactly what I meant. Thanks for clearing that up for everyone
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel