- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 02:25 AM
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
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 02:51 AM
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"));
});
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2018 02:51 AM
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"));
});
