[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased, ...}
We have implemented the JBPM and are having similar problems trying to use a group as an assignment. After reading the many forums here, it appears we can modify the jbpm/src/java.jbpm/org/jbpm/db/hibernate.queries.hbm.xml Orig: To include something like the query posted: SELECT t.ID_ AS taskid, t.NAME_ AS taskname, t.DESCRIPTION_ AS taskdescription, u.NAME_ AS userid, t.START_ AS startdate, t.DUEDATE_ AS duedate, t.END_ AS enddate FROM jbpm_taskinstance t INNER JOIN jbpm_taskactorpool p ON t.ID_ = p.TASKINSTANCE_ INNER JOIN jbpm_pooledactor pa ON p.POOLEDACTOR_ = pa.ID_ INNER JOIN jbpm_id_group g ON pa.ACTORID_ = g.NAME_ INNER JOIN jbpm_id_membership m ON m.GROUP_ = g.ID_ INNER JOIN jbpm_id_user u ON u.ID_ = m.USER_ WHERE t.END_ IS NUL Which fetches all tasks for a user that is in any of the groups. This seems to work fine. How can we merge these successfully in hibernate mappings, or has there been any other solution put forward to implement the group(NAME) usage. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956777#3956777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956777 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
this problem is still on the table... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=392#392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=392 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
I'm having the same problem when assigning a task to a group.. I created a group in the identity component (identity.db.xml), along with the users and memberships anonymous wrote : < group name="administrationOD" type="administration_generale"/> |< membership name="administration" role="administration" user="laurence" group="administrationOD"/> |< membership name="comptabilite" role="comptabilite" user="violaine" group="administrationOD"/> here are the users anonymous wrote : < user name="violaine" email="[EMAIL PROTECTED]" password="violaine" /> | < user name="laurence" email="[EMAIL PROTECTED]" password="laurence" /> And all these appear in the database.. so no problem until here.. The problem is when i assign a swimlane to a group: anonymous wrote : < swimlane name="administration"> | < assignment expression="group(administrationOD)">< /assignment> |< /swimlane> So in this group, there is supposed to be 2 users : Violaine and Laurence But when i deploy the process definition (.par) , i start a process instance (with the Laurence login), the task only appears to Laurence, and isn't even mentionned in Violaine's tasklist. Maybe someone could clarify this to me: if I assign a swimlane to a group, aren't all the members of the group supposed to see the task instance created (by a member of the same group) ?? I checked the database and the pooledActor table is empty, as well as the taskActorPool table. I just checked the JBPM_delegation table and here is what i found in it: anonymous wrote : CLASSNAME_ org.jbpm.identity.assignment.ExpressionAssignmentHandler | CONFIGURATION_ < expression>group(administrationOD)< /expression> Any ideas? Thanks for the help, Mennen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923553#3923553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923553 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
I have done like this Created a group with users a, b, c etc Then assigned the task like this in the process defintiionas assign =group(groupname) Then fetched using findPooledtask (groupName) I think this is what you asked for thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923525#3923525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923525 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
Hi, If anybody could share your work of assign a task to the multiple user in the group, it would be really really useful for many members of this group. I too interested in knowing how to get all the user from the Group and assign them with the setPooledActor(Set) . Thanks in Adv Ram View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923521#3923521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923521 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
Hi Pravin , I am excuting the same example as you written .I am getting diffculty to assign a task to the multiple user in the group. I want to know how to get all the user from the Group and assign them with the setPooledActor(Set) . If you share code it will be very useful View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922787#3922787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922787 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
HI Koen, Do you have any alternatives for role-based assignment or an idea how to do it. Thanks and Regards, Praveen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910018#3910018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910018 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
You should be able to depend on it. The workaround may be fixing the bug in jbpm... ;-) Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910009#3910009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910009 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
Hi, What I undestood is we can't depond on expression assignment handler. Is there any work around for role-based assignment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910005#3910005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910005 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
I have digged a little bit in the expression assignment handler stuff and it seems to me there is indeed something wrong. I have not been able to reproduce the issue yet and have not a lot of time now. I'll have a closer look later. Of course if anyone else stands up to look at this, this would help us out even more ;-) Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909987#3909987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909987 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
Hi Koen, By using setPooledActors() command, Iam able to assign task to multiple users. My question is by using assignment expression whether we can asssign a task to multiple users like this. test-1 group(dummy) I think test-1 is working fine as a row is created in jbpm_pooledactor and jbpm_taskactorpool tables as follows:: | jbpm_pooledactor | ID_ ACTORID_ SWIMLANEINSTANCE_ | | 1231dummy | | jbpm_taskactorpool | TASKINSTANCE_ POOLEDACTOR_ | - | 1225 1231 | | | test-2 | group(dummy) --> member(teammember) | | | | This expression is assigning task sometimes to praveen and sometimes to siddarth but not to both even though both are teammembers. Here Iam confused | | | | Also is there is any command that can show all the pooled tasks for an user(actor), I mean tasks that are assigned to groups or roles for which user is associated with should also get extracted. | | Thanks in advance. | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909945#3909945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909945 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased,...}
If you want to assign a task to a group of people, you will have to use the setPooledActors(Set) method on the taskinstance. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909882#3909882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909882 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user