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
7 subscribers
Views
1421 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, I want to know if the folder ABC exists within there (so that I don
anagha_abhyankar
over 10 years ago
Hi,
I want to know if the folder ABC exists within there (so that I don't create another one).
I am using it in a rule as below:=findfoldersbyname(false(),ri!folderToSearch,ri!rootFolder)I have created a hierarchy in KC as below:
Test Community (Community)
--Test Files (KC)
----Test (Folder)
------Test 1 (Sub-folder)
And passing the value as "Test1" in the folderToSearch input as text and "Test" rootFolder in folder type input and it returns empty.Please let me know if I need to modify.
As soon as I pass true() as the first element, it returns a no of elements which I am not sure where they are coming from.
Please let me know how can I resolve this issue?...
OriginalPostID-107486
OriginalPostID-107486
Discussion posts and replies are publicly visible
0
KARTHIK NATARAJAN
Certified Lead Developer
over 10 years ago
Passing true() as the first parameter will search in all KCs and folders regardless you have mentioned a specific KC and rootfolder. So try this expression findfolderbyname(false(),Test1,Test) which will return you the folder id of Test 1.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
anagha_abhyankar
over 10 years ago
Yes, I tried the same but its not returning any value when the first parameter is true(). Any clues?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel