09-16-2012 04:41 PM
We have integrated Nuxeo with our business system and with a Java application we are updating document properties using the Document.SetProperty command and that works fine. But, when we use the Document.Publish command to publish the documents that have been changed they are published but the publishing does not trigger a mail notification in the same way as it does when doing a manual publishing. Furthermore, when looking at the history for a document the updating of properties using Document.SetProperty is logged, but the publishing using Document.Publish does not log an event.
10-04-2012 09:28 AM
The solution is to not only publish the document by calling Document.Publish but also to trigger an event. If I call Notification.SendEvent with the event named documentPublished it will trigger the email notification in the same way as if the document was published manually.
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.