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
20 replies
Subscribers
8 subscribers
Views
5686 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
issue with getdocumentsfromfolder function
garym
over 7 years ago
Hi,
The getdocumentsfromfolder function seems straightforward but for some reason, it is not returning any documents when being used in one of our processes.
I have a sub-process which is being passed the folder in a pv called pv!requestFolder. I can see this folder in our documents tab and there are documents in it. This folder is called "SC-2016-00177". The sub-process calls the getdocumentsfromfolder function and saves the output into a pv of type documents (multiple).
getdocumentsfromfolder(
rootFolder : pv!requestFolder ,
recursiveSearch : true()
)
In the process, I can see that the value of the folder has been passed properly to a pv of type folder and the value is SC-2016-00177.
However, when the expression runs, it doesn't return the list of documents.
The security on the folder is correct.
Even when I try to run this in an expression rule, I can't get the list of documents to be retu...
OriginalPostID-251463
Discussion posts and replies are publicly visible
Parents
0
Poorna Guduri
A Score Level 1
over 7 years ago
@gary, Give it a try as Ramesh suggested. But if it does not solve your problem, you may need to look into the logs to find if the log says something about the execution of this function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Poorna Guduri
A Score Level 1
over 7 years ago
@gary, Give it a try as Ramesh suggested. But if it does not solve your problem, you may need to look into the logs to find if the log says something about the execution of this function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data