11-13-2013 07:45 AM
Hi all
i was wandering if there is a mechanism like operation chains that can be used directly in java.
What i would like to do is not to call an existing operation chain from java but rather call a series of operations, like in a chain, directly in java.
This would give me the possibility to have various operations defined in java and assemble chains in java in a dynamic way, based on various conditions.
11-13-2013 10:11 AM
This code enables you to run un single operation.
CoreSession session = getCoreSession();
Map<String, Object> params = getParams();
AutomationService as = Framework.getLocalService(AutomationService.class);
OperationContext ctx = new OperationContext(session);
service.run(ctx, "anOperationId" , params);
11-14-2013 03:56 AM
thanks for your answer Damien
11-15-2013 09:56 AM
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.