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
16 replies
Subscribers
7 subscribers
Views
5373 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi All, I asked this question an hour ago and didn't get any response b
aswinb
over 10 years ago
Hi All,
I asked this question an hour ago and didn't get any response back. So I am asking it again. I am trying to import a query rule from one environment to another and the import inspection says missing entity for the query rule. I have the entities and the associated datastores in both environments verified and published correctly. But don't know why this missing entity problem is recurring. Can anybody provide any suggestion or help?
thanks,
Aswin...
OriginalPostID-113557
OriginalPostID-113557
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
SUGGESTION:
1. Open the DCMIFS_getREGDocType
2. Remap it to the entity in your data store
3. Re-export the app (make sure to include both the query rule and the data store)
4. Try the import
If that still fails, here's how you can get the UUID and confirm whether the two data stores are in sync
SET OF STEPS #1
1. Login to environment A (SOURCE ENVIRONMENT: Where you exported the problematic query rule from)
2. Create a simple application and export ONLY the DATA STORE that this query rule uses.
3. Export the application and download it
4. Unzip the application
5. Open the DATA STORE xml insider <ZIP_FILE>\\dataStore
6. The entities are listed there with NAME and UUID. Find the UUID used by the Query Rule DCMIFS_getREGDocType
Here's an example of an entity called Student, the uuid is the alphanumeric string in the <uuid> element
<entity>
<uuid>8f670a0a-ab1d-427f-8b43-a79f482ab6ea</uuid>
<name>Student</name>
<type>{
cnu230062w.appiancorp.com:8080/.../type>
</entity>
SET OF STEPS #2
1. Login to environment B (TARGET ENVIRONMENT: Where you are trying to IMPORT)
2. Create a simple application and export ONLY the DATA STORE that this query rule uses.
3. Export the application and download it
4. Unzip the application
5. Open the DATA STORE xml insider <ZIP_FILE>\\dataStore
6. The entities are listed there with NAME and UUID. Find the UUID used by the Query Rule DCMIFS_getREGDocType
STE OF STEPS #3
Compare the UUID of the entity from step 1.6 and 2.6. You will realize they are different.
Why would this happen? Well, this happens because when you create Data Stores you can add entities inside, those entities have a name and a UUID. If you delete an entity and re-create it (same name), since this was a deletion, your re-added entity gets a new UUID therefore it no longer matches what the query rule was pointing to.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
SUGGESTION:
1. Open the DCMIFS_getREGDocType
2. Remap it to the entity in your data store
3. Re-export the app (make sure to include both the query rule and the data store)
4. Try the import
If that still fails, here's how you can get the UUID and confirm whether the two data stores are in sync
SET OF STEPS #1
1. Login to environment A (SOURCE ENVIRONMENT: Where you exported the problematic query rule from)
2. Create a simple application and export ONLY the DATA STORE that this query rule uses.
3. Export the application and download it
4. Unzip the application
5. Open the DATA STORE xml insider <ZIP_FILE>\\dataStore
6. The entities are listed there with NAME and UUID. Find the UUID used by the Query Rule DCMIFS_getREGDocType
Here's an example of an entity called Student, the uuid is the alphanumeric string in the <uuid> element
<entity>
<uuid>8f670a0a-ab1d-427f-8b43-a79f482ab6ea</uuid>
<name>Student</name>
<type>{
cnu230062w.appiancorp.com:8080/.../type>
</entity>
SET OF STEPS #2
1. Login to environment B (TARGET ENVIRONMENT: Where you are trying to IMPORT)
2. Create a simple application and export ONLY the DATA STORE that this query rule uses.
3. Export the application and download it
4. Unzip the application
5. Open the DATA STORE xml insider <ZIP_FILE>\\dataStore
6. The entities are listed there with NAME and UUID. Find the UUID used by the Query Rule DCMIFS_getREGDocType
STE OF STEPS #3
Compare the UUID of the entity from step 1.6 and 2.6. You will realize they are different.
Why would this happen? Well, this happens because when you create Data Stores you can add entities inside, those entities have a name and a UUID. If you delete an entity and re-create it (same name), since this was a deletion, your re-added entity gets a new UUID therefore it no longer matches what the query rule was pointing to.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data