-
1. Re: reopen a process instance ?
kukeltje Aug 4, 2008 9:29 PM (in response to memius)think out of the box... Think dossier and process, the latter working on the former. Dossiers stay for as long as e.g. legally needed. processes working on dossiers end. If new data pops up, a new 'process' for the same dossier is started. Maybe a specific version, related to some info in the dossier.
-
2. Re: reopen a process instance ?
memius Aug 5, 2008 4:35 AM (in response to memius)Well, my problem might be that I don't really see that 'box' ;)
When are you talking about a process ? How far does that go ...
Indeed a dossier is db data ... doing some data processing on that dossier is a process ... So if I understand you correctly, you would put the different kinds of related actions in a process (if they are consecutive, eg.)
And not create a 'big' process where you deal with one dossier until it is finished.
Now ... my problem is ... we have some tasks which are related to a dossier but don't really fit in a process (eg. prepare and send a mail if some trigger occurs). Would you create tiny processes for any of those tasks ? Even if they only contain one task... or would you create task instances at runtime and don't put them in any process... (which might not be very consistent, since in the one case you'll create process variable (eg. dossier id) and in the other you'll have to create task variables for the same data)
Anyway .. just some thoughts... I don't expect to get the only exact answer... but these are just some conceptual thoughts I struggle with. -
3. Re: reopen a process instance ?
kukeltje Aug 5, 2008 10:20 AM (in response to memius)And not create a 'big' process where you deal with one dossier until it is finished.
Depends... an simple insurance claim could be dealt with within one process, more complex claims which could take many years (e.g. personal injury) maybe not. And certainly do not look at a morgage as being a process.Would you create tiny processes for any of those tasks ?
You could if you want to take advantage of one tasklist, reminders etc...which might not be very consistent, since in the one case you'll create process variable (eg. dossier id) and in the other you'll have to create task variables for the same data)
Keep task data as minimal as possible... just like processdata. Store all that in your domain model and just reference it