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.
public class Animal{ private String color; (getters&setters) } public class Cat extends Animal{ private String name; (getters&setters) } public class AnimalTask implements JavaDelegate { public void execute(DelegateExecution execution) { Cat cat = new Cat(); cat.setColor = "cyan"; cat.setName = "Tom"; execution.setVariable("ANIMAL", cat); } }