How to retrieve form properties for completed task

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2013 03:57 AM
Is there any api / nativeQuery to retrieve form properties for the Completed Tasks . If no such API available. how should we query for retrieving the form properties for completed tasks .
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2013 05:33 AM
You can use the RepositoryService getBpmnModel(processDefinitionId) method to get the Java model of a process definition. From that it's easy to get UserTask element and the form properties.
Best regards,
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2013 06:44 AM
HI Tijs Rademakers,
Thank you very much. it`s working fine.
Thank you very much. it`s working fine.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2013 07:05 AM
Hi Tijs Rademakers,
But i am not able to retrieve the form properties values ?
But i am not able to retrieve the form properties values ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2013 03:45 AM
You can use the HistoricDetails for this, see HistoryService. The historicDetailQuery has a "formProperties()" method on it, which allows you to get them out. Ensure the correct history-level is set in order to get the properties recorded (see user guide for this).
