Check if an attachment was uploaded


#1

How do I check if an attachment has been uploaded for a particular execution using the content service?

What I have right now:

if(contentEngine.getContentService().createContentItemQuery().id(fieldId).contentAvailable(true)){}


#2

Nevermind, figured it out.