08-07-2012 02:29 PM
Hi, I have a problem with my automation chain I defined in Nuxeo Studio. The automation chain is bound to an event handler which react on the "Document Created" event. The automation chain should do the following: If a document is created with a specific parent document, some property of the parent document should be added to the newly created document. But the property is a multi-valued string property.
I created the automation chain as described in one of the tutorials:
In "Set Context Variable" I retrieve the value of the property from the parent (expr:@{Document["schema:myProperty"]}) and store it in a context variable. In "Update Property" I set the value for the same property on the created document ().
This seems to work fine for single valued properties, but after I made the property multi-valued, I got exceptions when creating the new child document:
javax.el.ELException: org.nuxeo.ecm.core.api.ClientException: Failed to get document /default-domain/myWorkspace/ParentDocument/ChildDocument
Should this work the same way for multi-valued properties, or is there any other way to achieve this?
Thanks, Dirk
08-09-2012 04:16 AM
I solved this problem now by writing my own EventListener and managing the things programmatically. But as far as I can see this cannot be solved by configuration in Nuxeo Studio.
11-29-2012 10:05 AM
I have the same problem. How can I store multi-valued property in Nuxeo Studio ?
02-13-2013 08:54 AM
I used this solution : Add string to a list String property in pure Studio/automation
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.