[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-16 Thread kukeltje
I never advise to extend the jbpm schema with extra tables Keep them 
separated and I store the initial actor (and often all actors participating in 
a process) in my domainmodel

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196973#4196973

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-16 Thread Olivier_Debels
No, 

requester is part of the "workflow" tables.

These contain jbpm and some extra tables.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196829#4196829

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-16 Thread kukeltje
Nor to the processinstances... use the businesskey for that 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196809#4196809

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196809
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-16 Thread kukeltje
Olivier, 

That table is in your domain model then. I would not relate it to the identity 
tables 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196808#4196808

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196808
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-16 Thread Olivier_Debels
There are other options.

You can f.e. create a separate table for requester's and link it to process 
instances.

requester table is then a link table between process instances and your (or the 
jbpm's) identity tables.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196783#4196783

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196783
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-15 Thread kukeltje
anonymous wrote : 
  | Correct...it's often the case that things depend on the requester. 
  | 

Should have said requirement or usecase


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196689#4196689

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-15 Thread kukeltje
Correct...it's often the case that things depend on the requester. Now I come 
to think of it... did it once to, but that was between two parties and each had 
to be able to see what task was assigned to him OR the other party...

It is an option to e.g. use a compound businesskey like:
: 

Retrieving processes by businesskey is more efficient. But if you also want all 
tasks with it, it is more efficient to write a custom query

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196688#4196688

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-15 Thread trouby
Thanks for the tip,

Well, it depends on the requirements I guess,
I have a system where the requester want to track what's happening with their 
processes and understand where a process stuck, why, etc...

So I have somehow to display the requester only the relevant processes,



Thanks,


Asaf.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196661#4196661

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-15 Thread kukeltje
Yes and no If you have a start-task, assign a swimlane to it and give it a 
name (e.g. creator). If you set the actor id on the jbpm context if you start a 
process, it is automatically assigned to that swimlane. 

Whether it is common to retrieve processes based on this to track progress I'm 
not sure. I've never done it but that might be me. I want to keep track of 
tasks that are overdue or soon will be. It does not matter much in the 
'real-time' monitoring who started it. For analysis purposes it does since the 
creator might be the one that provided to little information for other tasks to 
be carried out quickly

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196657#4196657

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user