Save an object that derives from FileDocument only when a file is uploaded
Is it possible to make the following case: Save an object that derives from filedocument only when a file is uploaded? If so, how?
Marco de Kievit
You could check the Name attribute of FileDocument in a microflow that is connected to the before commit event of the inherited object. If it is empty there is no file uploaded otherwise there is. Let the microflow return false if you want to abort the commit else return true.