- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2017 03:05 PM
HI,
I am enhancing my solution, and need information for below:
In my process, when a task is claimed a create a pre-defined set of subtasks. I want to prevent this task to be completed unless these set of subtasks are completed.
Is this possible with Alfresco Process Services?
Any pointers would help... Thank you...
Regards.
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2017 02:28 PM
Plugging in a task listener on task complete can solve this issue. In the task listener logic, you can check for any open sub tasks and throw an error if there are open tasks.
Quickly built an example - activiti-examples/CheckOpenSubtasksTaskListener.java at master · cijujoseph/activiti-examples · GitH...
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2017 02:28 PM
Plugging in a task listener on task complete can solve this issue. In the task listener logic, you can check for any open sub tasks and throw an error if there are open tasks.
Quickly built an example - activiti-examples/CheckOpenSubtasksTaskListener.java at master · cijujoseph/activiti-examples · GitH...
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2017 04:58 PM
Thank you Ciju...
