As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi,
Is it possible to assign/start a workflow programatically on a document (using Java)?
Yes, through the DocumentRoutingService:
DocumentRoutingService
DocumentRoutingService service = Framework.getLocalService(DocumentRoutingService.class); service.createNewInstance(modelId, Collections.singletonList(docId), coreSession, true);