cancel
Showing results for 
Search instead for 
Did you mean: 

Task Forms Usage: getRenderedTaskForm vs FormProperties

inbrain
Champ in-the-making
Champ in-the-making
Hi,

I'm in need of an expert advise in regard to the post topic.
Activiti UserGuide mostly describes task form definitions via Form Properties, but on the other hand while reading through REST API I found another choice - to request forms with getRenderedTaskForm

After brief look through tests I found usage of 'form files' to render pages for entering user task data. Test files suspiciously contain 'deprecated' word.

Approach with using TaskForms in contrary to using FormProperties appeals to me more than Form Properties if such form files can be versioned along with process definition itself.

So my questions are:
1. Where can I find more detailed explanation of the TaskForm approach?
2. Is that approach deprecated?- if so it probably either should not be mentioned at all in docs or mentioned with deprecation warning

Note:
in documentation for 5.9 and the one for 5.10 in activiti trunk there is a hint for looking up ..getTaskService(.getRenderedTaskForm(…) but Task Service doesn't contain this method, instead FormService does so it probably should be fixed either only in 5.10 docs or if it was changed earlier in published manual as well

Thank you in advance
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
The getRenderedStartForm() isn't used in Activiti Explorer. So if you're not planning to use that, it's perfectly fine to use his form-approach (using the rendering on the server).

inbrain
Champ in-the-making
Champ in-the-making
The getRenderedStartForm() isn't used in Activiti Explorer. So if you're not planning to use that, it's perfectly fine to use his form-approach (using the rendering on the server).

Thank you for your reply, but I probably need a bit more clarification namely
1. Did I correctly understand that the approach with "form" files is not deprecated?
2. (re-phrasing my previous question) Is it possible to find more information on ".form" files (beyond reading source code), for example I'm interested whether if I upload 2 process definitions of the same process with different set of ".form" files will it be possible to request correct versions of them if process instances for both old definition & new one exist simultaneously (say some old instance still left while definition upgraded)?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.