findFolderByName() does not exist?

Hi,

following the tutorial for HR_Assessment in "Building a process" there is a folder created for a hire.
But any time the process is resartet for debugging or testing, the folder "HR_Lucie_Pressnel" for example gets created over and over again, each time with an new id, but same name.

I tried to modify the example by testing for the existence of a folder with the same name, but cannot find a suitable function/Smart Service.

Why?

Some people suggest to use a database to store all the information the KC or the folders already represent. And it assumes that you always have a database with this information to search for.

But is it realy neccessary to build complex database storage and query function for a simple

(list) listDir()  or (int) getDocumentByName(name) function?

Thx

Olaf

  Discussion posts and replies are publicly visible

Parents
  • The other thing to keep in mind is that most of the time when you upload files to Appian, you want to associate them with some business data that already exists in a database. For instance, you might have documents related to a case. So it's not required to store information about folders / documents in the database, but it's the most convenient since the other data already exists there.

Reply
  • The other thing to keep in mind is that most of the time when you upload files to Appian, you want to associate them with some business data that already exists in a database. For instance, you might have documents related to a case. So it's not required to store information about folders / documents in the database, but it's the most convenient since the other data already exists there.

Children