04-30-2018 11:25 PM
Hi Team,
I am using activiti in my spring application. I was set the data type as 'enum'. Now i need set of values to display in java.
Please let me know about this.
Thanks
04-30-2018 11:51 PM
I got the solution.
List<FormProperty> formProperties = formService.getTaskFormData(task.getId()).getFormProperties();
formProperties.forEach(f-> {
System.out.println("fields: "+f.getId()+", "+f.getName()+", "+f.getType().getName()+", "+f.getType().getInformation("values"));
});
04-30-2018 11:51 PM
I got the solution.
List<FormProperty> formProperties = formService.getTaskFormData(task.getId()).getFormProperties();
formProperties.forEach(f-> {
System.out.println("fields: "+f.getId()+", "+f.getName()+", "+f.getType().getName()+", "+f.getType().getInformation("values"));
});
Explore our Alfresco products with the links below. Use labels to filter content by product module.