cancel
Showing results for 
Search instead for 
Did you mean: 

Rules not firing when moving nodes from custom store

tfrith
Champ on-the-rise
Champ on-the-rise
We've created a new store (workspace://hiddenStore):

StoreRef storeRef = new StoreRef(protocol, identifier);
storeRef = this.nodeService.createStore(protocol, identifier);

We've got a space (in workspace://SpacesStore) with some inbound/update rules on it.

We have a script that moves a node from hiddenStore to SpacesStore into this space.

The node is moved properly but none of the rules fire (inbound or update).  However, when I manage the rules for the space and "Reapply rules to space" they are triggered for the node.

Also, if I directly add a node to the space (using Alfresco Explorer, CIFS, FTP) then the rules are triggered as expected.

And, if the same script moves a node into that space from within SpacesStore the rules are triggered.

I don't see any rule-related logging during the move.

So…why are rules not triggered when moving nodes from my custom store?  And is there anything I can set on that store so that the rules do work?
3 REPLIES 3

derek
Star Contributor
Star Contributor
What version are you using and yes, this may be a bug.

tfrith
Champ on-the-rise
Champ on-the-rise
I'm using Enterprise - v3.2.0 (r 416).

derek
Star Contributor
Star Contributor
You should contact support directly and they'll examine and raise a bug, if required.  Otherwise, feel free to raise a reproducible bug directly in JIRA.
Getting started

Tags


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.