04-03-2017 09:06 AM
How to show progressbar between to task while it is running.
Specially in case Rest call task is taking time to get response and while generating document.
Please help on this.
04-05-2017 02:09 PM
Hello AH,
I'm not sure where you would want the Progress bar to be rendered.
once a User task is complete, the form is no longer rendered and all subsequent process activities are triggered.
Also, keep in mind that BPM systems, by their very design are no realtime systems.
The only guarantee is that a task will be routed to based on the process model. How long it takes to get to that task depends on many factors including load, job executor configuration, database performance and the performance of other custom beans/delegates.
If you are looking for more of a single page application user experience (which the out of box forms don't provide), you should consider one of the available process application frameworks available such as Brazos and Alfresco's own Application Development Framework.
Cheers,
Greg
04-03-2017 01:55 PM
A H,
There are several progress bar widgets available in angular, or other potentially compatible javascript frameworks; you'd need to create a custom alterations to the REST calls in order to track their progress and display it somewhere. Modify the REST Task is possible also, but I'm a little curious why this is a need for you; could it be a sign of a different problem? Are there very slow calls that you're making?
One of the core ideas of BPM is for the user to interact, when user interaction is necessary - so if the server is taking a while to process information or work with the user input before another user is involved - then, conceptually, that's fine.
Can you elaborate a bit on your reasoning here?
Thanks,
-JEarles
04-07-2017 03:45 AM
Yes Slow calls, Specially for generating document based on Template. Activiti is taking time while it is generating documents.
When this process is in progress, can we show any ready made process bar in Alfresc Activiti 1.6 ?
04-05-2017 02:09 PM
Hello AH,
I'm not sure where you would want the Progress bar to be rendered.
once a User task is complete, the form is no longer rendered and all subsequent process activities are triggered.
Also, keep in mind that BPM systems, by their very design are no realtime systems.
The only guarantee is that a task will be routed to based on the process model. How long it takes to get to that task depends on many factors including load, job executor configuration, database performance and the performance of other custom beans/delegates.
If you are looking for more of a single page application user experience (which the out of box forms don't provide), you should consider one of the available process application frameworks available such as Brazos and Alfresco's own Application Development Framework.
Cheers,
Greg
Explore our Alfresco products with the links below. Use labels to filter content by product module.