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.
Predicate predicate = new Predicate(new Reference[]{BaseWebServiceSystemTest.contentReference}, BaseWebServiceSystemTest.store, null); // Create the action to add the versionable aspect NamedValue[] parameters = new NamedValue[]{new NamedValue("aspect-name", false, Constants.ASPECT_VERSIONABLE, null)}; Action newAction1 = new Action(); newAction1.setActionName("add-features"); newAction1.setTitle("Add the versionable aspect to the node."); newAction1.setDescription("This will add the verisonable aspect to the node and thus create a version history."); newAction1.setParameters(parameters); // Execute the action ActionExecutionResult[] results = this.actionService.executeActions(predicate, new Action[]{newAction1});