0 Replies Latest reply on May 5, 2010 9:57 AM by David Caicedo

    Swimlanes don´t work

    David Caicedo Newbie

      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