-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.7.2
-
Fix Version/s: 4.10.0
-
Component/s: Automation
When using any properties of schema file in field Current document properties have changed in the definition of an event handler, the automation script or chain does not get triggered.
Event handler's definition
- Events: {{Before document modification
- Current document properties have changed*: add property content/data of schema file
Required fix is to be able to select file:content whereas only subfields of "file:content" are available.
Workaround
Custom EL expression field:
Document.doc.getProperty("file:content").dirty && Document.doc.getAdapter(org.nuxeo.ecm.core.api.blobholder.BlobHolder).blob != null