Hi Team,
I am looking for a plug-in or Public Appian API or function to list all Folders in an Application including rule, process model, KC, document folders.
I tried with below function which returned only the folders inside KC of an application when given searchCriteria with APP_PREFIX&*.
Please do the needful
findcontentbyattribute( searchAllContent: false(), contentType: "folder", attributeName: "name", searchCriteria: "<APP_PREFIX>*")
Thanks,
Bharathwaj RK
Discussion posts and replies are publicly visible
While I have no answer to your question, I am interested in your use case. I observe similar questions becomes more, and I would like to understand the reason.
We are working on Clean up application, which will help us to clean the old documents, process instances, process model's, rule's, constant's, interface's old versions.
For this it would be easy if we get all the folders in an application, we can automatically set things up for cleanup, otherwise a manual task is required to set those folders.
An Appian "Application" is essentially a container and really does not have any bearing on how the objects are actually stored within the system, which makes it difficult to locate the objects programmatically this way.
Are these folders created by developers, or systematically by processes? I assume then you are not able to track these by one master parent folder, etc?
Are you running into space issues or is this simply an exercise in organization? Mostly just curious there as I have not found any reason in 13 years of Appian to remove things such as old interface versions.