Skip to main content
December 2, 2021
Question

how to find all documents belong to certain folder?

  • December 2, 2021
  • 22 replies
  • 0 views

I am trying to delete a folder's all documents, at interface expression mode, how to write the code and how to express the document name at a!deleteDocument(document:??????).

Thanks

    22 replies

    stefanhelzle0001
    Brainy
    December 2, 2021
    stefanhelzle0001
    Brainy
    December 2, 2021

    As a!deleteDocument can only delete a single document, you will need to create a process to delete multiple documents.

    Documents in Appian are referenced by their ID either in a variable of type Integer or of type Document.

    December 2, 2021

    how to get folderId? why each time refresh the interface the folderId return differently?

    stefanhelzle0001
    Brainy
    December 2, 2021

    https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/

    I can neither see your screen, nor your code, nor do I know what you want to achieve, what you tried, what failed or anything that enables me to give you an answer.

    I tried to explain this to you already a few times. It is that simple: No details -> No answer!