EL expression for file:content being empty

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:


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

Thank you!

0 votes

2 answers



This works for me in a an Action Activation custom EL field:

1 votes

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

0 votes

I would try #{empty document.getProperty(“file:content”)}. But is it in EL or MVEL?