Boundary Events and cancel activity
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2011 07:03 AM
I see that now cancelActivity is working fine but…
If i put cancelActivity to false, now, activity still in same state, but boundary event only is launched 1 time,
My target is:
I'll have an user Task that every day launch a mail if activity is not complete.
Now, I have a cycle with cancelActivity true, user task- boundary event- mail- user task, but this cause that task id changes (causes by cycle, and I prefer I can keep same id)
If i put cancelActivity to true, only 1 mail is sended…
Which is the best way to model my target???
thanks!!
If i put cancelActivity to false, now, activity still in same state, but boundary event only is launched 1 time,
My target is:
I'll have an user Task that every day launch a mail if activity is not complete.
Now, I have a cycle with cancelActivity true, user task- boundary event- mail- user task, but this cause that task id changes (causes by cycle, and I prefer I can keep same id)
If i put cancelActivity to true, only 1 mail is sended…
Which is the best way to model my target???
thanks!!
Labels:
- Labels:
-
Archive
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 02:24 AM
AFAIK, non-interupting boundry events aren't supported yet in activiti (cancelActivity=false).
Is there a specific reason why the task-id (in case of your workaround, using flow that goos back in userTask after sending mail?
Is there a specific reason why the task-id (in case of your workaround, using flow that goos back in userTask after sending mail?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 02:29 AM
In mail, I'll put a url, that opens this task…
If every day, task id changes (really is the same activity), I'm sure that someone will try to go to task with a old url (from a previous mail), and this url reference a task that not exists.
If every day, task id changes (really is the same activity), I'm sure that someone will try to go to task with a old url (from a previous mail), and this url reference a task that not exists.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 02:33 AM
I see,
Is the link to the explore UI or an own UI? Maybe, as workaround, you can set unique key in process-variable and copy it into a task-variable when task is started (listener), and use this as ID in your link. The query for the task should be something like taskService.createTaskQuery().taskVariableValueEquals("firstTaskIdentifier", id).
I should check with Joram and Tom, but don't think there is any concrete planning for non-interuptive boundary event on the roadmap.
Is the link to the explore UI or an own UI? Maybe, as workaround, you can set unique key in process-variable and copy it into a task-variable when task is started (listener), and use this as ID in your link. The query for the task should be something like taskService.createTaskQuery().taskVariableValueEquals("firstTaskIdentifier", id).
I should check with Joram and Tom, but don't think there is any concrete planning for non-interuptive boundary event on the roadmap.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 02:44 AM
I'm using Activiti Explorer…
http://localhost:8080/activiti-explorer/start?taskId=119, where 119 is the ID of the task with an associated form.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 02:47 AM
Maybe we need a reminder option, configure as a listener maybe?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 02:56 AM
As a matter of fact, we're looking into (task) notifications this release. More details on that will folow.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 03:06 AM
Thanks…
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 10:57 AM
non-interrupting events are indeed not yet supported. There is some code that could work, but it's not yet documented nor is it tested enough.
