cancel
Showing results for 
Search instead for 
Did you mean: 

Form Key for history tasks

vedanth
Champ in-the-making
Champ in-the-making
Hi All,

           Is there any way to get the form key for history tasks? 
The normal way

processEngine.getFormService().getTaskFormData(taskId).getFormKey()

throws "No task found for taskId ".

Thanks in advance,
5 REPLIES 5

frederikherema1
Star Contributor
Star Contributor
This has been added to the 5.13-release to HistoricTaskInstance and will be available for all new historic task instances created.

quaff
Champ in-the-making
Champ in-the-making
can you add a method formService.getTaskFormData(processDefinitionId,activityId)?
I want to render HistoricFormProperty with this form although task is completed.

jbarrez
Star Contributor
Star Contributor
No, this is not on our roadmap. So if you need it, please create a pull request so we can evaluate.

quaff
Champ in-the-making
Champ in-the-making
sorry, I'm not excellent at activiti,I think this feature is very useful,developer can replay form submition,all I needed is static information in xml,such as type and name, name for display label,if type is enum,I need values to display label too. please add it to your roadmap for next release,thanks.

trademak
Star Contributor
Star Contributor
Please create a JIRA so we have it registered.

Thanks,