02-13-2014 07:08 PM
I am writing a chain to retrieve the emails of assignees for a workflow node, and send an email to those assignees.
My current chain:
My chain works fine if I leave out Document > Get Principal Emails (I substitute in a dummy email for testing), but if I run the chain as above, I get the following error stack:
Caused by: org.nuxeo.ecm.platform.routing.api.exception.DocumentRouteException: Error running chain: AssignReview
at org.nuxeo.ecm.platform.routing.core.impl.GraphNodeImpl.executeChain(GraphNodeImpl.java:523)
at org.nuxeo.ecm.platform.routing.core.impl.GraphNodeImpl.executeChain(GraphNodeImpl.java:491)
at org.nuxeo.ecm.platform.routing.core.impl.GraphRunner.runGraph(GraphRunner.java:227)
at org.nuxeo.ecm.platform.routing.core.impl.GraphRunner.resume(GraphRunner.java:161)
... 190 more
Caused by: org.nuxeo.ecm.automation.TraceException:
****** chain ******
Name: AssignReview
Exception: InvalidChainException
Caught error: Cannot find any valid path in operation chain - no method found for operation 'Notification.SendMail' and for first input type 'org.nuxeo.ecm.core.api.impl.DocumentModelListImpl'
Caused by: null
****** Hierarchy calls ******
at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:195)
at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:89)
at org.nuxeo.ecm.platform.routing.core.impl.GraphNodeImpl.executeChain(GraphNodeImpl.java:515)
... 193 more
Caused by: org.nuxeo.ecm.automation.InvalidChainException: Cannot find any valid path in operation chain - no method found for operation 'Notification.SendMail' and for first input type 'org.nuxeo.ecm.core.api.impl.DocumentModelListImpl'
at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.buildChain(CompiledChainImpl.java:161)
at org.nuxeo.ecm.automation.core.impl.ChainTypeImpl.newInstance(ChainTypeImpl.java:130)
at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:157)
... 195 more
Any ideas? It doesn't matter where the Get Principal Emails operation is location the chain, it still throws the error.
I am on the latest hotpatch (HF06).
02-20-2014 01:25 PM
I have the same message error ("Cannot find any valid path in operation chain"), but in a diferrent situation, and a would like to know what does it means.
06-23-2016 05:59 AM
facing the same error in some other issue..will appreciate any resolution to the same
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.