Progress Bar in Alfresco Activiti

cancel
Showing results for 
Search instead for 
Did you mean: 
ashokhathal
Member II

Progress Bar in Alfresco Activiti

Jump to solution

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.

1 Solution

Accepted Solutions
gdharley
Intermediate

Re: Progress Bar in Alfresco Activiti

Jump 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

View solution in original post

3 Replies
jearles
Established Member II

Re: Progress Bar in Alfresco Activiti

Jump to solution

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

gdharley
Intermediate

Re: Progress Bar in Alfresco Activiti

Jump 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

ashokhathal
Member II

Re: Progress Bar in Alfresco Activiti

Jump to solution

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 ?