Document

These evaluators have access to a specific document and are used to determine actions and operations around a document.

document-has-attachment

If the document has a given attachment.

{
    "evaluator": "document-has-attachment",
    "condition": "{attachmentId}"
}

document-has-qname

If the document has the given qname.

{
    "evaluator": "document-has-qname",
    "condition": "{qname}"
}

document-has-type

If the document has the given type.

{
    "evaluator": "document-has-type",
    "condition": "{type}"
}

document-is-file

If the document is a file (as opposed to a folder).

{
    "evaluator": "document-is-file"
}

document-is-folder

If the document is a folder (as opposed to a file).

{
    "evaluator": "document-is-folder"
}

document-is-locked

If the document is a locked.

{
    "evaluator": "document-is-locked"
}

document-is-locked-by-current-user

If the document is a locked by the current user.

{
    "evaluator": "document-is-locked-by-current-user"
}