[jboss-user] [jBPM] - Swimlanes don´t work

David Caicedo do-not-reply at jboss.com
Wed May 5 09:57:24 EDT 2010


David Caicedo [http://community.jboss.org/people/david.caicedo] created the discussion

"Swimlanes don´t work"

To view the discussion, visit: http://community.jboss.org/message/541332#541332

--------------------------------------------------------------
Hi Guys,

I´m trying an example , and I´m setting swinlanes like this:

     <swimlane name="*solicitante*">
        <assignment expression="group(solicitante)"></assignment>
    </swimlane>

    <swimlane name="oficial1">
        <assignment expression="group(oficial1)"></assignment>
    </swimlane>

    <swimlane name="oficial2">
        <assignment expression="group(oficial2)"></assignment>
    </swimlane>

    <swimlane name="jefeOficial">
        <assignment expression="group(jefeOficial)"></assignment>
    </swimlane>


After that I do an assigment, for example

<start-state name="Ingreso de Solicitud">
        <task name="Ingreso de Solicitud" swimlane="*solicitante*">
            <controller>
                <variable access="read,write,required" name="nombre"></variable>
                <variable access="read,write,required" name="apellido"></variable>
                <variable access="read,write,required" name="direccion"></variable>
                <variable access="read,write,required" name="cedula"></variable>
                <variable access="read,write" name="telefono"></variable>
                <variable access="read,write" name="tarjetaCreditoTipo"></variable>
                <variable access="read,write" name="tarjetaCreditoNumero"></variable>
            </controller>
        </task>
        <transition to="Aprobacion de 1er Nivel"></transition>
    </start-state>


Then I inserted a user and a  group into jbpm_id_user, jbpm_id_group and jbpm_id_membership

Finally changed web.xml

<auth-constraint>
      <role-name>*solicitante*</role-name>
    </auth-constraint>

and
<security-role>
    <role-name>*solicitante*</role-name>
  </security-role>

When  the process is  started another roles can see this task, but the task is assigned to *solicitante*, how can I set to only the role solicitante can see this task?


Regards
David

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/541332#541332]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100505/23dee652/attachment.html 


More information about the jboss-user mailing list