jboss-user
[Arriba] [Todas las Listas]

[jboss-Usuario] [jBPM] - Re: Une nodo 'Puerta' tiene ningún tipo (discr

To: User development <jboss-user@xxxxxxxxxxxxxxx>
Subject: [jboss-Usuario] [jBPM] - Re: Une nodo 'Puerta' tiene ningún tipo (discriminator)
From: Darryl Youngblood <do-not-reply@xxxxxxxxx>
Date: Tue, 06 Sep 2011 09:25:42 -0400
Auto-submitted: yes
Delivery-date: Tue, 06 Sep 2011 09:35:41 -0400
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <2-624932-3-89918-1315297251548-2-624977-3-19022-1315308972463.jivesbs.jivemailuser@http://community.jboss.org>
List-archive: <http://lists.jboss.org/pipermail/jboss-user>
List-help: <mailto:jboss-user-request@lists.jboss.org?subject=help>
List-id: The JBoss User main mailing list <jboss-user.lists.jboss.org>
List-post: <mailto:jboss-user@lists.jboss.org>
List-subscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=subscribe>
List-unsubscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=unsubscribe>
References: <2-624932-3-89918-1315297251548.jivesbs.jivemailuser@http://community.jboss.org> <2-624932-3-89918-1315297251548-2-624977-3-19022-1315308972463.jivesbs.jivemailuser@http://community.jboss.org>
Reply-to: The JBoss User main mailing list <jboss-user@xxxxxxxxxxxxxxx>
Sender: jboss-user-bounces@xxxxxxxxxxxxxxx
Darryl *Youngblood [*http://comunidad.*jboss.*org/Personas/*d.*y.] Creó la discusión

"*Re: Une nodo 'Puerta' tiene ningún tipo (*discriminator)"

para ver la discusión, visita: *http://comunidad.*jboss.*org/Mensaje/625011#625011

--------------------------------------------------------------
estoy utilizando el *eclipse editor y cambiando el tipo de la puerta a un *discriminator y conseguir esto "Une nodo 'Puerta' tiene ningún error" de tipo que

lo Cambia respalda a *XOR o Y *wouldnt ayuda pero si *i conseguir este correcto, utilizando *discriminator (/*complexGateway) es justo no posible *atm?

Esto es un proceso sencillo donde *i conseguir este error también:


<?*xml Versión="1.0" *encoding="UTF-8"?> 
<Definiciones *id="Definición"
             *targetNamespace=" *http://www.jboss.org/*drools *http://www.jboss.org/*drools&*quot;
             *typeLanguage=" *http://www.java.com/*javaTypes *http://www.java.com/*javaTypes&*quot;
             *expressionLanguage=" *http://www.mvel.org/2.0 *http://www.mvel.org/2.0&*quot;
             *xmlns=" *http://www.omg.org/*spec/*BPMN/20100524/MODELO *http://www.omg.org/*spec/*BPMN/20100524/MODELO&*quot;
             *xmlns:*xsi=" *http://*www.*w3.*org/2001/*XMLSchema-caso *http://*www.*w3.*org/2001/*XMLSchema-caso&*quot;
             *xsi:*schemaLocation=" *http://www.omg.org/*spec/*BPMN/20100524/MODELO *http://www.omg.org/*spec/*BPMN/20100524/MODELO *BPMN20.*xsd"
             *xmlns:*g=" *http://Www.jboss.org/*drools/flujo/*gpd *http://www.jboss.org/*drools/flujo/*gpd&*quot;
             *xmlns:*bpmndi=" *http://www.omg.org/*spec/*BPMN/20100524/DI *http://www.omg.org/*spec/*BPMN/20100524/DI&*quot;
             *xmlns:*dc=" *http://www.omg.org/*spec/DD/20100524/DC *http://www.omg.org/*spec/DD/20100524/DC&*quot;
             *xmlns:*di=" *http://www.omg.org/*spec/DD/20100524/DI *http://www.omg.org/*spec/DD/20100524/DI&*quot;
             *xmlns:*tns=" *http://www.jboss.org/*drools *http://www.jboss.org/*drools&*quot;>

  <proceso *processType="Privado" *isExecutable="cierto" *id="*com.Muestra.*bpmn.*discriminator" Muestra="de nombre3.*b" >

    <!-- Nodos -->
    <*startEvent *id="_1" Inicio="de nombre" />
    <*endEvent *id="_2" Fin="de nombre" >
        <*terminateEventDefinition/>
    </*endEvent>
    <*scriptTask *id="_5" Guión="de nombre1" *scriptFormat=" *http://www.java.com/*java *http://www.java.com/*java&*quot; >
      <Sistema>de guión.Fuera.*println("Inicio a 1");</guión>
    </*scriptTask>
    <*scriptTask *id="_6" Guión="de nombre4" *scriptFormat=" *http://www.java.com/*java *http://www.java.com/*java&*quot; >
      <Sistema>de guión.Fuera.*println("Guión 3 ejecutado");</guión>
    </*scriptTask>
    <*scriptTask *id="_7" Guión="de nombre2" *scriptFormat=" *http://www.java.com/*java *http://www.java.com/*java&*quot; >
      <Sistema>de guión.Fuera.*println("Puerta 1 a puerta 2");</guión>
    </*scriptTask>
    <*complexGateway *id="_8" Puerta="de nombre" *gatewayDirection="Convergiendo" />
    <*exclusiveGateway *id="_9" Puerta="de nombre" *gatewayDirection="*Diverging" />
    <*scriptTask *id="_10" Guión="de nombre3" >
      <Sistema>de guión.Fuera.*println("Puerta 2 a puerta 1");</guión>
    </*scriptTask>

    <!-- Conexiones -->
    <*sequenceFlow *id="_6-_2" *sourceRef="_6" *targetRef="_2" />
    <*sequenceFlow *id="_1-_5" *sourceRef="_1" *targetRef="_5" />
    <*sequenceFlow *id="_9-_6" *sourceRef="_9" *targetRef="_6" nombre="a 4" >
      <*conditionExpression *xsi:tipo="*tFormalExpression" >regresa falso;</*conditionExpression>
    </*sequenceFlow>
    <*sequenceFlow *id="_8-_7" *sourceRef="_8" *targetRef="_7" />
    <*sequenceFlow *id="_5-_8" *sourceRef="_5" *targetRef="_8" />
    <*sequenceFlow *id="_10-_8" *sourceRef="_10" *targetRef="_8" />
    <*sequenceFlow *id="_7-_9" *sourceRef="_7" *targetRef="_9" />
    <*sequenceFlow *id="_9-_10" *sourceRef="_9" *targetRef="_10" nombre="a 3" *tns:prioridad="1" >
      <*conditionExpression *xsi:tipo="*tFormalExpression" lengua=" *http://www.jboss.org/*drools/regla *http://www.jboss.org/*drools/regla&*quot; >*eval(cierto)</*conditionExpression>
    </*sequenceFlow>

  </proceso>

  <*bpmndi:*BPMNDiagram>
    <*bpmndi:*BPMNPlane *bpmnElement="*com.Muestra.*bpmn.*discriminator" >
      <*bpmndi:*BPMNShape *bpmnElement="_1" >
        <*dc:*Bounds *x="48" *y="144" ancho="48" alzada="48" />
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *bpmnElement="_2" >
        <*dc:*Bounds *x="604" *y="269" ancho="48" alzada="48" />
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *bpmnElement="_5" >
        <*dc:*Bounds *x="144" *y="147" ancho="80" alzada="48" />
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *bpmnElement="_6" >
        <*dc:*Bounds *x="448" *y="270" ancho="80" alzada="48" />
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *bpmnElement="_7" >
        <*dc:*Bounds *x="413" *y="155" ancho="80" alzada="48" />
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *bpmnElement="_8" >
        <*dc:*Bounds *x="268" *y="152" ancho="48" alzada="48" />
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *bpmnElement="_9" >
        <*dc:*Bounds *x="275" *y="274" ancho="48" alzada="48" />
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *bpmnElement="_10" >
        <*dc:*Bounds *x="128" *y="231" ancho="80" alzada="48" />
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNEdge *bpmnElement="_6-_2" >
        <*di:*waypoint *x="488" *y="294" />
        <*di:*waypoint *x="628" *y="293" />
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *bpmnElement="_1-_5" >
        <*di:*waypoint *x="72" *y="168" />
        <*di:*waypoint *x="184" *y="171" />
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *bpmnElement="_9-_6" >
        <*di:*waypoint *x="299" *y="298" />
        <*di:*waypoint *x="488" *y="294" />
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *bpmnElement="_8-_7" >
        <*di:*waypoint *x="292" *y="176" />
        <*di:*waypoint *x="453" *y="179" />
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *bpmnElement="_5-_8" >
        <*di:*waypoint *x="184" *y="171" />
        <*di:*waypoint *x="292" *y="176" />
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *bpmnElement="_10-_8" >
        <*di:*waypoint *x="168" *y="255" />
        <*di:*waypoint *x="292" *y="176" />
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *bpmnElement="_7-_9" >
        <*di:*waypoint *x="453" *y="179" />
        <*di:*waypoint *x="299" *y="298" />
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *bpmnElement="_9-_10" >
        <*di:*waypoint *x="299" *y="298" />
        <*di:*waypoint *x="168" *y="255" />
      </*bpmndi:*BPMNEdge>
    </*bpmndi:*BPMNPlane>
  </*bpmndi:*BPMNDiagram>

</definiciones>
--------------------------------------------------------------

Respuesta a este mensaje por ir a Comunidad
[*http://comunidad.*jboss.*org/Mensaje/625011#625011]

Empieza una discusión nueva en *jBPM en Comunidad
[*http://comunidad.*jboss.*org/Escoge-contenedor!Entrada.*jspa?*contentType=1&*containerType=14&contenedor=2034]

Darryl Youngblood [http://community.jboss.org/people/d.y.] created the discussion

"Re: Join node 'Gateway' has no type (discriminator)"

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

--------------------------------------------------------------
I'm using the eclipse editor and changing the type of the gateway to a discriminator and get this "Join node 'Gateway' has no type" error

Changing it back to XOR or AND wouldnt help but if i get this right, using discriminator (/complexGateway) is just not possible atm?

This is a simple process where i get this error too:


<?xml version="1.0" encoding="UTF-8"?> 
<definitions id="Definition"
             targetNamespace=" http://www.jboss.org/drools http://www.jboss.org/drools";
             typeLanguage=" http://www.java.com/javaTypes http://www.java.com/javaTypes";
             expressionLanguage=" http://www.mvel.org/2.0 http://www.mvel.org/2.0";
             xmlns=" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL";
             xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance";
             xsi:schemaLocation=" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
             xmlns:g=" http://www.jboss.org/drools/flow/gpd http://www.jboss.org/drools/flow/gpd";
             xmlns:bpmndi=" http://www.omg.org/spec/BPMN/20100524/DI http://www.omg.org/spec/BPMN/20100524/DI";
             xmlns:dc=" http://www.omg.org/spec/DD/20100524/DC http://www.omg.org/spec/DD/20100524/DC";
             xmlns:di=" http://www.omg.org/spec/DD/20100524/DI http://www.omg.org/spec/DD/20100524/DI";
             xmlns:tns=" http://www.jboss.org/drools http://www.jboss.org/drools";>

  <process processType="Private" isExecutable="true" id="com.sample.bpmn.discriminator" name="sample3.b" >

    <!-- nodes -->
    <startEvent id="_1" name="Start" />
    <endEvent id="_2" name="End" >
        <terminateEventDefinition/>
    </endEvent>
    <scriptTask id="_5" name="Script1" scriptFormat=" http://www.java.com/java http://www.java.com/java"; >
      <script>System.out.println("start to 1");</script>
    </scriptTask>
    <scriptTask id="_6" name="Script4" scriptFormat=" http://www.java.com/java http://www.java.com/java"; >
      <script>System.out.println("script 3 executed");</script>
    </scriptTask>
    <scriptTask id="_7" name="Script2" scriptFormat=" http://www.java.com/java http://www.java.com/java"; >
      <script>System.out.println("gateway 1 to gateway 2");</script>
    </scriptTask>
    <complexGateway id="_8" name="Gateway" gatewayDirection="Converging" />
    <exclusiveGateway id="_9" name="Gateway" gatewayDirection="Diverging" />
    <scriptTask id="_10" name="Script3" >
      <script>System.out.println("gateway 2 to gateway 1");</script>
    </scriptTask>

    <!-- connections -->
    <sequenceFlow id="_6-_2" sourceRef="_6" targetRef="_2" />
    <sequenceFlow id="_1-_5" sourceRef="_1" targetRef="_5" />
    <sequenceFlow id="_9-_6" sourceRef="_9" targetRef="_6" name="to 4" >
      <conditionExpression xsi:type="tFormalExpression" >return false;</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="_8-_7" sourceRef="_8" targetRef="_7" />
    <sequenceFlow id="_5-_8" sourceRef="_5" targetRef="_8" />
    <sequenceFlow id="_10-_8" sourceRef="_10" targetRef="_8" />
    <sequenceFlow id="_7-_9" sourceRef="_7" targetRef="_9" />
    <sequenceFlow id="_9-_10" sourceRef="_9" targetRef="_10" name="to 3" tns:priority="1" >
      <conditionExpression xsi:type="tFormalExpression" language=" http://www.jboss.org/drools/rule http://www.jboss.org/drools/rule"; >eval(true)</conditionExpression>
    </sequenceFlow>

  </process>

  <bpmndi:BPMNDiagram>
    <bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.discriminator" >
      <bpmndi:BPMNShape bpmnElement="_1" >
        <dc:Bounds x="48" y="144" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_2" >
        <dc:Bounds x="604" y="269" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_5" >
        <dc:Bounds x="144" y="147" width="80" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_6" >
        <dc:Bounds x="448" y="270" width="80" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_7" >
        <dc:Bounds x="413" y="155" width="80" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_8" >
        <dc:Bounds x="268" y="152" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_9" >
        <dc:Bounds x="275" y="274" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_10" >
        <dc:Bounds x="128" y="231" width="80" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="_6-_2" >
        <di:waypoint x="488" y="294" />
        <di:waypoint x="628" y="293" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_1-_5" >
        <di:waypoint x="72" y="168" />
        <di:waypoint x="184" y="171" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_9-_6" >
        <di:waypoint x="299" y="298" />
        <di:waypoint x="488" y="294" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_8-_7" >
        <di:waypoint x="292" y="176" />
        <di:waypoint x="453" y="179" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_5-_8" >
        <di:waypoint x="184" y="171" />
        <di:waypoint x="292" y="176" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_10-_8" >
        <di:waypoint x="168" y="255" />
        <di:waypoint x="292" y="176" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_7-_9" >
        <di:waypoint x="453" y="179" />
        <di:waypoint x="299" y="298" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_9-_10" >
        <di:waypoint x="299" y="298" />
        <di:waypoint x="168" y="255" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>

</definitions>
--------------------------------------------------------------

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

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

_______________________________________________
*jboss-Usuario *mailing lista
*jboss-user@xxxxxxxxxxxxxxx
*https://listas.*jboss.*org/*mailman/*listinfo/*jboss-Usuario
_______________________________________________
jboss-user mailing list
jboss-user@xxxxxxxxxxxxxxx
https://lists.jboss.org/mailman/listinfo/jboss-user
<Anterior por Tema] Tema Actual [Siguiente por Tema>