Skip to main content
August 9, 2023
Question

Delete document smart service

  • August 9, 2023
  • 8 replies
  • 0 views

Hi All,

I am using the delete document smart service to delete the documents from the folder. We are passing the document id parameter to delete the document. But it is taking much time. 

How can I reduce the time it takes to delete the document.

    8 replies

    stefanhelzle0001
    Brainy
    August 9, 2023

    What exactly do you mean by that, and why is this a problem?

    August 9, 2023

    Hi Stefan, the delete node takes much time to complete and needs to be optimized.

    stefanhelzle0001
    Brainy
    August 9, 2023

    But why?

    mathieud0001
    August 9, 2023

    You can't. Why not put it in a subprocess and run it asynchronously?

    August 9, 2023

    But then subprocess will consume more time and again need to optimize that.

    stefanhelzle0001
    Brainy
    August 9, 2023

    For what purpose? Why are you so keen on trying to "optimize" this?

    csteward
    August 9, 2023

    There is nothing much we can do to increase the efficiency of this node other than taking a look at your server health in general.

    - How much time?

    - Are you on prem or cloud?

    - How much CPU utilization is your server using?

    - How big is your ACCDOCS / document space usage?

    August 22, 2023

    Hi Rahul, Firstly the delete document smart service takes the document type variable only. Second, you can run multiple instansces for multiple documents' deletion.