-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
6.0.0
Description of problem:
When generating process and task forms in designer (using 'Generate all forms') the notification "Successfully generated all process and task form templates" appears few seconds after user clicks the button. However the incremental building of starts after that and this can cause problems when user (unaware that incremental build of forms is in progress) leaves the designer to do something else - or logs out.
The problem is more pronounced in cases of processes with more human tasks. For such processes the form generation / incremental building can take minutes, during which there is high probability, that user will go on to do something else.
Please observe the problems that arise in the video of sample workflow (process definition used in the video is also attached). In the sample process attached there is 20 Human Tasks, to highlight the issue. I'm sure, that in business practice the processes with 10 or more human tasks will NOT be uncommon, so this problem is definitely going to arise in practice.
Version-Release number of selected component (if applicable):
6.0.0.ER2
How reproducible:
Always
Steps to Reproduce:
1. Open designer and import process definition attached.
2. In the menu click the form icon and select item 'Generate all forms'
3. notification 'Successfully generated all process and task form templates.' is displayed
4. Now in the server console you can see, that incremental building of individual task forms starts and takes more than a minute. If during this time the user logs out and tries to log back in various exceptions start to appear in the server log / console.
Actual results:
Notification 'Successfully generated ...' might lead user to believe, that generation process has finished and might lead to user go on with other tasks.
Expected results:
1) At minimum there should be some notification like 'Please wait while generation of process and task forms is in progress'
2) Better yet would be notifications like
'Generating forms: successfully generated form 1 / 20'
'Generating forms: successfully generated form 2 / 20'
...
3) The application shouldn't break if user goes and does something else (like in the video). For example - in our case we log out and when we log back in, select Authoring > Project authoring, we only see top menus and project explorer doesn't even open, when form generation is in progress.