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.
Solved! Go to Solution.
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
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
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
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 ?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.