How to visualisze currently running task in a workflow

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2015 07:39 AM
Hi,
Could you please let me know about below:
I have a workflow. And it has suppose 10 script task or java tasks in between start and end.
Now I did "Start Process".
So is there any place in UI of Activiti Explorer where I may see that at this particular time the workflow is on which task.
Thanks
Mohit
Could you please let me know about below:
I have a workflow. And it has suppose 10 script task or java tasks in between start and end.
Now I did "Start Process".
So is there any place in UI of Activiti Explorer where I may see that at this particular time the workflow is on which task.
Thanks
Mohit
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2015 10:19 AM
Hi,
yes you can see it visually in "my instances" select the desired process instance and then you'll see in red the active task.
yes you can see it visually in "my instances" select the desired process instance and then you'll see in red the active task.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2015 08:08 AM
Hi Mohit,
If there is no wait state (e.g. asynch task) in your workflow, it is not possible. (in the current impl.)
Regards
Martin
If there is no wait state (e.g. asynch task) in your workflow, it is not possible. (in the current impl.)
Regards
Martin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2015 02:18 AM
Hi Activiti team,
Thanks for information.
I tried 2 scenarios:
1. A workflow consisting only User Tasks. And the currently executing task is visible in Running Process Instances.
2. But when I created a workflow having Service Tasks (Java class invoking Unix Shell script with sleep command to test this) then that process is not visible in Running Process Instances.
So Martin, Is it the case you are talking about.
Please let me know that for scenario 2 will it be possible to see currently running tasks?
Thanks
Mohit
Thanks for information.
I tried 2 scenarios:
1. A workflow consisting only User Tasks. And the currently executing task is visible in Running Process Instances.
2. But when I created a workflow having Service Tasks (Java class invoking Unix Shell script with sleep command to test this) then that process is not visible in Running Process Instances.
So Martin, Is it the case you are talking about.
Please let me know that for scenario 2 will it be possible to see currently running tasks?
Thanks
Mohit
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2015 03:15 PM
Activiti executes automatic steps (like script/service) in one transaction. You cannot see it visually if they are part of one transaction. You could make them all async, and then they would be visible (but that might not be what you want performance wise).

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2015 02:10 AM
Hi,
So could you please let me know that is there any API (Listener) we may use or implement so that this may be done. So that currently executing task is visible in UI.
Also again I am specifying my problem:
I have a workflow. And it has suppose 10 script task or java tasks in between start and end.
I want to know which task is currently executing.
Thanks
Mohit
So could you please let me know that is there any API (Listener) we may use or implement so that this may be done. So that currently executing task is visible in UI.
Also again I am specifying my problem:
I have a workflow. And it has suppose 10 script task or java tasks in between start and end.
I want to know which task is currently executing.
Thanks
Mohit
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2015 04:19 AM
Hi Mohit,
you have following possibilities:
Martin
you have following possibilities:
- log state outside of the activiti transaction (listener will start and commit independent transaction from activiti one)
- make tasks asynchronous (in fact you make new wait states in this case)
Martin
