-
1. Re: Joining two instance of a task
salaboy21 Jun 7, 2012 12:15 PM (in response to marcosdutto)Hi,
can I ask based on what business condition you decide to create more than 1 instance of Task 1?
Cheers
-
2. Re: Joining two instance of a task
marcosdutto Jun 7, 2012 2:28 PM (in response to salaboy21)The business condition is an external condition, it has not relation with variables of the process.
-
3. Re: Joining two instance of a task
salaboy21 Jun 7, 2012 2:36 PM (in response to marcosdutto)Can you describe that business condition? because probably you can model it in a different way.
Cheers
-
4. Re: Joining two instance of a task
marcosdutto Jun 7, 2012 2:56 PM (in response to salaboy21)I have something like this:
-> Three tasks (Task1, Task2, Task3)
-> I do not know how many task of each i will have at runtime.
-> I want to be able to match one Task1 with one or more than one Task2.
-> I want to be able to match one Task2 with one or more than one Task3.
-> I want to be able to match more than one Task1 with one Task2.
-> I want to be able to match more than one Task2 with one Task3.
So, finally what i want to do is a mapping between Tasks but without knowing how many i have for each task.
Example:
Task1 = Purchase Request
Task2 = Purchase Order
Task3 = Bill
A purchase request can be order in parts, so i will have more than one purchase order for one Purchase Request.
But, at the same time, 2 (or 3,4,5...) Purchases Request can be wrapper in only one Purchase order.
The same thing happend with Purchase Order and Bill.
Thank you "Chabon".
-
5. Re: Joining two instance of a task
marcosdutto Jun 8, 2012 10:59 AM (in response to marcosdutto)Do you understand the idea?
It can be done it with JBPM?
Thanks in advance
-
6. Re: Joining two instance of a task
salaboy21 Jun 8, 2012 1:46 PM (in response to marcosdutto)I think that now I understand a little bit more about your requirement.
So what are you trying to model is a process to gather Purchase Requests or Purchase Orders?
It doesn't sounds like just one process, it sounds as a bunch of processes and instances gatehering information about a big operation to me.
If you create a business process, you need to clearly identify the goal of that process and build your tasks around that goal.
For example if the process is called: New Purchase Order Process
The process will contain all the tasks required to create a new Purchase Orders, these tasks can be enter in all the purchase requests associated to that order.
The other thing that you need to know is that a same task can be used to store different snapshots of the work, for example if you say that
One Purchase request have multiple parts, you can just have one task which allows you to enter each of these parts in different times. When you have entered all
the required or necessary parts you can complete the task and move the process forward.
Hope it helps..