tasklist automatic generated
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2012 09:42 AM
Hey community,
I want to generate a tasklist automaticly.
The fist step should be:
the process should start every day at 7.00 o'clock.
In the second step a service task or script task should generate the tasklist from a table and every row in the table is a task.
Is it possible to realize that?
Kind regards
I want to generate a tasklist automaticly.
The fist step should be:
the process should start every day at 7.00 o'clock.
In the second step a service task or script task should generate the tasklist from a table and every row in the table is a task.
Is it possible to realize that?
Kind regards
Labels:
- Labels:
-
Archive
8 REPLIES 8

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2012 10:04 AM
Hi chris,
i'm still new to activiti and i dont now if ive got your question correctly, but i hope i can give some answers.
So here goes:
1. There is a TimerStartEvent which lets you start processes repeatedly
(see http://www.activiti.org/userguide/index.html#bpmnTimerStartEvent and
http://en.wikipedia.org/wiki/ISO_8601#Repeating_intervals)
2. This is the point i'm not quite sure i did quite get it.
you could use the taskService (newTask) from a Java Service Task to create tasks programmatically.
But if you want to wait till these tasks are finished, i have no idea.
Best regards,
Jan
i'm still new to activiti and i dont now if ive got your question correctly, but i hope i can give some answers.
So here goes:
1. There is a TimerStartEvent which lets you start processes repeatedly
(see http://www.activiti.org/userguide/index.html#bpmnTimerStartEvent and
http://en.wikipedia.org/wiki/ISO_8601#Repeating_intervals)
2. This is the point i'm not quite sure i did quite get it.
you could use the taskService (newTask) from a Java Service Task to create tasks programmatically.
But if you want to wait till these tasks are finished, i have no idea.
Best regards,
Jan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2012 03:58 AM
Hey Jan,
sorry, for my late replay.
I try to explain my problem again.
I get messages from an ohter application, every day. These messages i import in an mysql-database.
Now every day the process engine should generate, from every row in the table, a task for a user.
Maybe the attached file help.
Regards
chris
sorry, for my late replay.
I try to explain my problem again.
I get messages from an ohter application, every day. These messages i import in an mysql-database.
Now every day the process engine should generate, from every row in the table, a task for a user.
Maybe the attached file help.
Regards
chris
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2012 03:37 AM
Just write some custom Java code, that calls the Activiti taskService and create a standalone task from there.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2012 05:50 AM
Hey,
What kind of start-event i must use and what should be the next?
- the timer based or the condition based event.
Thanks for your Help.
What kind of start-event i must use and what should be the next?
- the timer based or the condition based event.
Thanks for your Help.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2012 02:36 AM
Good morning,
I can't find a solution, I'm very new in activiti and java!
What i must do?
Maybe can someone give me an small example?
Thanks for your Help!
Regards
Chris
I can't find a solution, I'm very new in activiti and java!
What i must do?
Maybe can someone give me an small example?
Thanks for your Help!
Regards
Chris

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2012 09:11 AM
Hi Chris,
If you are new to Java and Activiti this is not an easy project to start with.
But what you could do is just use the Quartz framework to execute a Java class every morning and use the Activiti TaskService class to create tasks for every row you find.
So you won't need a process definition in that case.
Best regards,
If you are new to Java and Activiti this is not an easy project to start with.
But what you could do is just use the Quartz framework to execute a Java class every morning and use the Activiti TaskService class to create tasks for every row you find.
So you won't need a process definition in that case.
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2012 12:05 PM
Hey Tijs,
thank you for your help.
The timbased start isn't very important.
It is possible that a user start the process. But its important, that from every row in the table, a task will generate.
May, could you give me some tips or an example how i can solve that problem?
Best Regards,
Chris
thank you for your help.
The timbased start isn't very important.
It is possible that a user start the process. But its important, that from every row in the table, a task will generate.
May, could you give me some tips or an example how i can solve that problem?
Best Regards,
Chris
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2012 02:56 AM
Hey,
i can't find a solution.
How i have to start the process? (The timebase start isn't important)
I used the start event.
Where i must implement the TaskService class? In the startevent or im wrong?
For some tips or an small example i would be very appreciate. I have to solve the problem for a project in my study.
Best Regards,
Chris
i can't find a solution.
How i have to start the process? (The timebase start isn't important)
I used the start event.
<startEvent id="startevent1" name="Start" activiti:formKey="taskForm_newMessage.jsf"></startEvent>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<userTask id="comment" name="Comment" activiti:assignee="user1" activiti:formKey="taskForm_commentMessage.jsf"></userTask>
Where i must implement the TaskService class? In the startevent or im wrong?
For some tips or an small example i would be very appreciate. I have to solve the problem for a project in my study.
Best Regards,
Chris
