cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti 6 UI - built-in form rendering

edumitre
Champ on-the-rise
Champ on-the-rise

Hi,

I am new to Activiti 6 and and we are facing some migration issues from Activiti 5. 

We have a lot of workflows created and currently working in Activiti 5 - this version supports the automatic rendering of the form properties when used in Activiti Explorer form manual tasks.
However this behavior seems not be longer available in Activiti 6 with the arrival of the Form designer.
Is there any way to have an automatically-displayed form in Activiti UI when running a process from Activiti (6) App as in Activiti 5? 

Regards,

1 ACCEPTED ANSWER

gdharley
Elite Collaborator
Elite Collaborator

Unfortunately the entire UI including form rendering mechanism has been changed up in Activiti 6 and while the engine and Rest API still support form properties, they are no longer taken into consideration when rendering forms in the Activiti 6 UI.

The options you have are to either:

1. Extend the existing render-form.js controller (as well as the task.js controller) to add form properties handlers.

2. Overload the new /app/rest/task-forms/<taskId> API to alternately use form Properties if a referenced form is not available.
3. Create your own UI.


Personally I like Option 2, but so far I am not aware of anyone looking into this piece of work.

Sorry,

Greg

View answer in original post

2 REPLIES 2

gdharley
Elite Collaborator
Elite Collaborator

Unfortunately the entire UI including form rendering mechanism has been changed up in Activiti 6 and while the engine and Rest API still support form properties, they are no longer taken into consideration when rendering forms in the Activiti 6 UI.

The options you have are to either:

1. Extend the existing render-form.js controller (as well as the task.js controller) to add form properties handlers.

2. Overload the new /app/rest/task-forms/<taskId> API to alternately use form Properties if a referenced form is not available.
3. Create your own UI.


Personally I like Option 2, but so far I am not aware of anyone looking into this piece of work.

Sorry,

Greg

edumitre
Champ on-the-rise
Champ on-the-rise

Thanks a lot !