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
2 replies
Subscribers
9 subscribers
Views
2040 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
How can you test if a document Id (integer) is valid ? How can you test if this
JEAN PIERRE
over 10 years ago
How can you test if a document Id (integer) is valid ? How can you test if this document exists?...
OriginalPostID-125654
OriginalPostID-125654
Discussion posts and replies are publicly visible
0
Tejas Kargutkar
Appian Employee
over 10 years ago
This rule returns true if the id points to a valid document
=index(split(getcontentobjectdetailsbyid(ri!id), "Type: "), 2, "") = "Document"
I found this in the following post:
forum.appian.com/.../e-91772
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sahil Gupta
Appian Employee
over 10 years ago
To test if a document exists, you can also use the following expression:
=exact(getcontentobjectdetailsbyid(cons!Document), "No object with this internal name has been found")
Please view the following post:
forum.appian.com/.../e-124579
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel