cancel
Showing results for 
Search instead for 
Did you mean: 

EL expression for file:content being empty

nathan1620_
Confirmed Champ
Confirmed Champ

How would I phrase the EL expression to be "the file content of the document is empty", so there are no files in the actual content of the document. So far I have:

#{document.getProperty("file:content")=='empty'}

so this gets the file content, but the "'empty'" part is wrong.

Thank you!

1 ACCEPTED ANSWER

Steven_Huwig1
Star Contributor
Star Contributor

This works for me in a an Action Activation custom EL field: #{currentDocument.file.content == null}

View answer in original post

3 REPLIES 3

vjoussot_
Star Contributor
Star Contributor

Hy, perhaps like this : file:filename IS NOT NULL

I would try #{empty document.getProperty(“file

Steven_Huwig1
Star Contributor
Star Contributor

This works for me in a an Action Activation custom EL field: #{currentDocument.file.content == null}

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.