Need help configuring the Delete Document Smart Service or defining an expressio

Certified Senior Developer
Need help configuring the Delete Document Smart Service or defining an expression function to delete all documents from a folder using the 'getDocumentsFromFolder' function. Intent is to delete files from a folder in the Temporary Documents KC prior to uploading new versions of the same file. I do not want to maintain previous versions. No user input as this is a system process....

OriginalPostID-127429

OriginalPostID-127429

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to karthip0001

    Very simply you have process flow reach an XOR gate.  If one path is chosen, it leads to the end, if another path is chosen it leads to a node you've already completed; you'll complete it again and go to the XOR gate.

    You want to point the looping flow to a Script Task or User Input task; it causes problems when you try to loop back to gateways.  Even if you have to make a script task that does nothing.

Children
No Data