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
7 replies
Subscribers
7 subscribers
Views
4815 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Is it possbile to check if the folder ID exists in Appian Document System?...
cmtam
over 10 years ago
Is it possbile to check if the folder ID exists in Appian Document System?...
OriginalPostID-132540
OriginalPostID-132540
Discussion posts and replies are publicly visible
0
Poorna Guduri
A Score Level 1
over 10 years ago
Hi cmtam, till now there is no such function that checks for the existence of the Appian Objects except for "User".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 10 years ago
There has been a discussion regarding this topic last year that includes comments from myself :-) That might give you some ideas.
forum.appian.com/.../e-91772
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 10 years ago
I tested
=index(split(getcontentobjectdetailsbyid(57731), "Type: "), 2, "") = "Folder]"
and it works. But writing a plugin for that should be quite easy and a bit more reliable solution.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Poorna Guduri
A Score Level 1
over 10 years ago
hi stefanh, thanks for the piece of code. That helps :-)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cmtam
over 10 years ago
I just find out the same plugin and writing a rule :
=trim(extract(getcontentobjectdetailsbyid(ri!id), "Type:","]"))="Folder"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cmtam
over 10 years ago
Thanks for your input
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 10 years ago
To have a stable solution for this, please write a plugin. If Appian rearranges the results of the getcontent...() function this would break the expression. This is the way I go for production.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel