Skip to main content
Participating Frequently
Jun 1, 2022 4:30 PM UTC
Question

How to configure Delete Document in Process Model

Does anyone know how to configure Delete Document to delete multiple documents/images given an array of document ids? 

    5 replies

    gabriele.camilli
    Employee
    Jun 1, 2022 4:36 PM UTC

    Hello Jeffrey,

    If the number of documents in not too large, you could you an MNI

    Participating Frequently
    Jun 1, 2022 4:38 PM UTC

    can you give me an example? 

    gabriele.camilli
    Employee
    Jun 1, 2022 5:03 PM UTC

    On how to use Multiple Instances of a Node?

    [View:https://docs.appian.com/suite/help/22.1/Process_Model_Recipes.html#:~:text=Configuring%20the%20node%20to%20spawn%20multiple%20instances&text=Double%2Dclick%20the%20task%20node,instances%20of%20this%20node%20option].

    Inspiring
    Jun 1, 2022 6:36 PM UTC

    You can delete documents using MNI or looping through delete document smart service. I would recommend you to use MNI instead for looping. 

    See the configuration details for MNI

    chandler.corales
    Employee
    Dec 29, 2023 2:46 PM UTC

    FYI the recently published v1.11.1 of the Content Tools plug-in does have a "Delete Multiple Documents" smartservice that should have better performance than calling the "Delete Document" smartservice with MNI.