I can't get group assignments to work using expressions, tasks tansition to the 
next node, however, tasks don't get assigned to the groups.


I'm working with jboss-jbpm-3.2.GA (suite)

I have the following process deployed:

<?xml version="1.0" encoding="UTF-8"?>

<process-definition
  xmlns=""  name="RequirementsAnalysis">

   
      
   
   
      
   
   
      
   
   
      
   
   <start-state name="Submit change request">
      
         
            <variable name="Descr" access="read,write,required" 
mapped-name="Change Request Description">
            <variable name="Module" access="read,write,required" 
mapped-name="Solution Area">
         
      
      
   </start-state>
   <task-node name="Review change request">
      
         
            <variable name="Descr" access="read" mapped-name="Description">
            <variable name="Module" access="read" mapped-name="Module">
            <variable name="UpdReq" access="read,write,required" 
mapped-name="Updated Requirement">
         
      
      
   </task-node>
   <end-state name="end1"></end-state>
</process-definition>

I updated the jbpm tables with the following script:

/*First we add in the security roles*/
INSERT INTO PUBLIC.JBPM_ID_GROUP VALUES (60,'G','manager','security-role',NULL)
INSERT INTO PUBLIC.JBPM_ID_GROUP VALUES 
(61,'G','participant','security-role',NULL)
INSERT INTO PUBLIC.JBPM_ID_GROUP VALUES 
(62,'G','administrator','security-role',NULL)

/*Then we add in the organisations*/
INSERT INTO PUBLIC.JBPM_ID_GROUP VALUES (70,'G','EndUser','organisation',NULL)
INSERT INTO PUBLIC.JBPM_ID_GROUP VALUES (71,'G','ReqAnal','organisation',NULL)
INSERT INTO PUBLIC.JBPM_ID_GROUP VALUES (72,'G','SWEngin','organisation',NULL)
INSERT INTO PUBLIC.JBPM_ID_GROUP VALUES (73,'G','QAAnal','organisation',NULL)


/*Then we add in the users*/
INSERT INTO PUBLIC.JBPM_ID_USER VALUES (80,'U','euser','[EMAIL 
PROTECTED]','euser')
INSERT INTO PUBLIC.JBPM_ID_USER VALUES (81,'U','reqanal','[EMAIL 
PROTECTED]','reqanal')
INSERT INTO PUBLIC.JBPM_ID_USER VALUES (82,'U','swengin','[EMAIL 
PROTECTED]','swengin')
INSERT INTO PUBLIC.JBPM_ID_USER VALUES (83,'U','qaanal','[EMAIL 
PROTECTED]','qaanal')
INSERT INTO PUBLIC.JBPM_ID_USER VALUES (84,'U','adminmgr','[EMAIL 
PROTECTED]','adminmgr')

/*Then we make all our normal users participants*/
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'80','61')
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'81','61')
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'82','61')
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'83','61')
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'84','61')



/*Then we make the administrator an administrator*/
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'84','62')

/*Then we make the manager a manager*/
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'84','60')

/*Finally we add all our users to their organisation groups*/
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'80','70')
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'81','71')
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'82','72')
INSERT INTO PUBLIC.JBPM_ID_MEMBERSHIP VALUES (NULL,'M',NULL,NULL,'83','73')




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

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

Reply via email to