jboss-user
[Arriba] [Todas las Listas]

[jboss-Usuario] [jBPM] - Oryx Asunto Subprocesses

To: User development <jboss-user@xxxxxxxxxxxxxxx>
Subject: [jboss-Usuario] [jBPM] - Oryx Asunto Subprocesses
From: Tobias Wittur <do-not-reply@xxxxxxxxx>
Date: Sat, 17 Sep 2011 04:49:05 -0400
Auto-submitted: yes
Delivery-date: Sat, 17 Sep 2011 04:50:54 -0400
Envelope-to: traductor@xxxxxxxxxxx
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>
Reply-to: The JBoss User main mailing list <jboss-user@xxxxxxxxxxxxxxx>
Sender: jboss-user-bounces@xxxxxxxxxxxxxxx
Tobias *Wittur [*http://comunidad.*jboss.*org/Personas/*tob1cuando] creó la discusión

"*Oryx Asunto *Subprocesses"

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

--------------------------------------------------------------
*Hi,

yo justo probado a modelo un *subprocess con *oryx. Cuándo lo salvé, el modelo de proceso entero desapareció. 

Yo entonces abierto el *jbpm ejemplo *BPMN2-*ErrorBoundaryEventInterrupting.

Yo sencillamente abierto y lo salvó, y aquí también, el modelo fue ido después de salvarlo. (El *xml fue borrado). *http://Comunidad.*jboss.*org/*servlet/*JiveServlet/*showImage/2-627019-16992/Captura.GIF  *http://comunidad.*jboss.*org/*servlet/*JiveServlet/*downloadImage/2-627019-16992/450-347/Captura.GIF 

Esto es el *xml a él:


<?*xml Versión="1.0" *encoding="UTF-8"?>
<*bpmn2:definiciones *xmlns:*xsi="*http://*www.*w3.*org/2001/*XMLSchema-caso&*quot; *xmlns="*http://www.omg.org/*bpmn20&*quot; *xmlns:*bpmn2="*http://www.omg.org/*spec/*BPMN/20100524/MODELO&*quot; *xmlns:*bpmndi="*http://www.omg.org/*spec/*BPMN/20100524/DI&*quot; *xmlns:*dc="*http://www.omg.org/*spec/DD/20100524/DC&*quot; *xmlns:*di="*http://www.omg.org/*spec/DD/20100524/DI&*quot; *xmlns:*drools="*http://www.jboss.org/*drools&*quot; *id="Definición" *xsi:*schemaLocation="*http://www.omg.org/*spec/*BPMN/20100524/MODELO *BPMN20.*xsd" *expressionLanguage="*http://Www.mvel.org/2.0&*quot; Acontecimiento="de Frontera de Error de nombre Proceso" *targetNamespace="*http://www.omg.org/*bpmn20&*quot; *typeLanguage="*http://www.java.com/*javaTypes&*quot;>
  <*bpmn2:proceso *id="*ErrorBoundaryEvent" Acontecimiento="de Frontera de Error de nombre Proceso" *isExecutable="cierto">
    <*bpmn2:*startEvent *id="_1" nombre="*StartProcess">
      <*bpmn2:*outgoing>_1-_2</*bpmn2:*outgoing>
    </*bpmn2:*startEvent>
    <*bpmn2:*subProcess *id="_2" nombre="Hola">
      <*bpmn2:*incoming>_1-_2</*bpmn2:*incoming>
      <*bpmn2:*outgoing>_2-_3</*bpmn2:*outgoing>
      <*bpmn2:*startEvent *id="_2-1" nombre="*StartSubProcess">
        <*bpmn2:*outgoing>_2-1-_2-2</*bpmn2:*outgoing>
      </*bpmn2:*startEvent>
      <*bpmn2:*parallelGateway *id="_2-2" nombre="*null">
        <*bpmn2:*incoming>_2-1-_2-2</*bpmn2:*incoming>
        <*bpmn2:*outgoing>_2-2-_2-3</*bpmn2:*outgoing>
        <*bpmn2:*outgoing>_2-2-_2-4</*bpmn2:*outgoing>
      </*bpmn2:*parallelGateway>
      <*bpmn2:*endEvent *id="_2-3" nombre="*ErrorEvent">
        <*bpmn2:*incoming>_2-2-_2-3</*bpmn2:*incoming>
        <*bpmn2:*errorEventDefinition *id="_*VVD4*gOEJEeCmFs5*FZDDDYg" *drools:*erefname="*MyError"/>
      </*bpmn2:*endEvent>
      <*bpmn2:tarea *id="_2-4" *drools:*taskName="*MyTask" Tarea="de nombre">
        <*bpmn2:*incoming>_2-2-_2-4</*bpmn2:*incoming>
        <*bpmn2:*outgoing>_2-4-_2-5</*bpmn2:*outgoing>
        <*bpmn2:*ioSpecification *id="_*VVD4*geEJEeCmFs5*FZDDDYg">
          <*bpmn2:*dataInput *id="_2-4_*TaskNameInput" nombre="*TaskName"/>
          <*bpmn2:*inputSet *id="_*VVD4*guEJEeCmFs5*FZDDDYg"/>
          <*bpmn2:*outputSet *id="_*VVD4*g-*EJEeCmFs5*FZDDDYg"/>
        </*bpmn2:*ioSpecification>
        <*bpmn2:*dataInputAssociation *id="_*VVD4*hOEJEeCmFs5*FZDDDYg">
          <*bpmn2:*targetRef>_2-4_*TaskNameInput</*bpmn2:*targetRef>
          <*bpmn2:*assignment *id="_*VVD4*heEJEeCmFs5*FZDDDYg">
            <*bpmn2:de *xsi:tipo="*bpmn2:*tFormalExpression" *id="_*VVD4*huEJEeCmFs5*FZDDDYg">*MyTask</*bpmn2:de *bpmn2:a *xsi:tipo=>
            <"*bpmn2:*tFormalExpression" *id="_*VVD4*h-*EJEeCmFs5*FZDDDYg">_2-4_*TaskNameInput</*bpmn2:a /*bpmn2:*assignment>
          <>
        </*bpmn2:*dataInputAssociation>
      </*bpmn2:tarea>
      <*bpmn2:*endEvent *id="_2-5" nombre="*EndEvent">
        <*bpmn2:*incoming>_2-4-_2-5</*bpmn2:*incoming>
      </*bpmn2:*endEvent>
      <*bpmn2:*sequenceFlow *id="_2-1-_2-2" *sourceRef="_2-1" *targetRef="_2-2"/>
      <*bpmn2:*sequenceFlow *id="_2-2-_2-3" *sourceRef="_2-2" *targetRef="_2-3"/>
      <*bpmn2:*sequenceFlow *id="_2-2-_2-4" *sourceRef="_2-2" *targetRef="_2-4"/>
      <*bpmn2:*sequenceFlow *id="_2-4-_2-5" *sourceRef="_2-4" *targetRef="_2-5"/>
    </*bpmn2:*subProcess>
    <*bpmn2:*endEvent *id="_3" nombre="*EndProcess">
      <*bpmn2:*incoming>_2-_3</*bpmn2:*incoming>
      <*bpmn2:*terminateEventDefinition *id="_*VVD4*iOEJEeCmFs5*FZDDDYg"/>
    </*bpmn2:*endEvent>
    <*bpmn2:*intermediateCatchEvent *id="_4" nombre="*ErrorEvent">
      <*bpmn2:*outgoing>_4-_5</*bpmn2:*outgoing>
      <*bpmn2:*errorEventDefinition *id="_*VVD4*ieEJEeCmFs5*FZDDDYg" *errorRef="_*VVD4*iuEJEeCmFs5*FZDDDYg"/>
    </*bpmn2:*intermediateCatchEvent>
    <*bpmn2:*scriptTask *id="_5" Adiós="de nombre" *scriptFormat="*null">
      <*bpmn2:*incoming>_4-_5</*bpmn2:*incoming>
      <*bpmn2:*outgoing>_5-_6</*bpmn2:*outgoing>
      <*bpmn2:Sistema>de guión.Fuera.*println(&*quot;El Error manejó&*quot;);</*bpmn2:guión>
    </*bpmn2:*scriptTask>
    <*bpmn2:*endEvent *id="_6" nombre="*EndProcess">
      <*bpmn2:*incoming>_5-_6</*bpmn2:*incoming>
    </*bpmn2:*endEvent>
    <*bpmn2:*sequenceFlow *id="_1-_2" *sourceRef="_1" *targetRef="_2"/>
    <*bpmn2:*sequenceFlow *id="_2-_3" *sourceRef="_2" *targetRef="_3"/>
    <*bpmn2:*sequenceFlow *id="_4-_5" *sourceRef="_4" *targetRef="_5"/>
    <*bpmn2:*sequenceFlow *id="_5-_6" *sourceRef="_5" *targetRef="_6"/>
  </*bpmn2:proceso>
  <*bpmn2:error *id="_*VVD4*iuEJEeCmFs5*FZDDDYg"/>
  <*bpmndi:*BPMNDiagram *id="_*VVD4*i-*EJEeCmFs5*FZDDDYg">
    <*bpmndi:*BPMNPlane *id="_*VVD4*jOEJEeCmFs5*FZDDDYg" *bpmnElement="*ErrorBoundaryEvent">
      <*bpmndi:*BPMNShape *id="_*VVD4*jeEJEeCmFs5*FZDDDYg" *bpmnElement="_1">
        <*dc:*Bounds alzada="30.0" ancho="30.0" *x="27.0" *y="115.0"/>
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *id="_*VVD4*juEJEeCmFs5*FZDDDYg" *bpmnElement="_2">
        <*dc:*Bounds alzada="221.0" ancho="349.0" *x="97.0" *y="15.0"/>
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *id="_*VVD4*j-*EJEeCmFs5*FZDDDYg" *bpmnElement="_3">
        <*dc:*Bounds alzada="28.0" ancho="28.0" *x="489.0" *y="113.0"/>
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *id="_*VVD4*kOEJEeCmFs5*FZDDDYg" *bpmnElement="_4">
        <*dc:*Bounds alzada="30.0" ancho="30.0" *x="380.0" *y="224.0"/>
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *id="_*VVD4*keEJEeCmFs5*FZDDDYg" *bpmnElement="_5">
        <*dc:*Bounds alzada="48.0" ancho="80.0" *x="355.0" *y="288.0"/>
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNShape *id="_*VVD4*kuEJEeCmFs5*FZDDDYg" *bpmnElement="_6">
        <*dc:*Bounds alzada="28.0" ancho="28.0" *x="380.0" *y="369.0"/>
      </*bpmndi:*BPMNShape>
      <*bpmndi:*BPMNEdge *id="_*VVD4*k-*EJEeCmFs5*FZDDDYg" *bpmnElement="_1-_2">
        <*di:*waypoint *xsi:tipo="*dc:Punto" *x="42.0" *y="130.0"/>
        <*di:*waypoint *xsi:tipo="*dc:Punto" *x="271.5" *y="125.5"/>
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *id="_*VVD4*lOEJEeCmFs5*FZDDDYg" *bpmnElement="_2-_3">
        <*di:*waypoint *xsi:tipo="*dc:Punto" *x="271.5" *y="125.5"/>
        <*di:*waypoint *xsi:tipo="*dc:Punto" *x="503.0" *y="127.0"/>
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *id="_*VVD4*leEJEeCmFs5*FZDDDYg" *bpmnElement="_4-_5">
        <*di:*waypoint *xsi:tipo="*dc:Punto" *x="395.0" *y="239.0"/>
        <*di:*waypoint *xsi:tipo="*dc:Punto" *x="395.0" *y="312.0"/>
      </*bpmndi:*BPMNEdge>
      <*bpmndi:*BPMNEdge *id="_*VVD4*luEJEeCmFs5*FZDDDYg" *bpmnElement="_5-_6">
        <*di:*waypoint *xsi:tipo="*dc:Punto" *x="395.0" *y="312.0"/>
        <*di:*waypoint *xsi:tipo="*dc:Punto" *x="394.0" *y="383.0"/>
      </*bpmndi:*BPMNEdge>
    </*bpmndi:*BPMNPlane>
  </*bpmndi:*BPMNDiagram>
</*bpmn2:definiciones>
--------------------------------------------------------------

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

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

Tobias Wittur [http://community.jboss.org/people/tob1as] created the discussion

"Oryx Issue Subprocesses"

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

--------------------------------------------------------------
Hi,

I just tried to model a subprocess with oryx. When I saved it, the entire process model disappeared. 

I then opened the jbpm example BPMN2-ErrorBoundaryEventInterrupting.

I simply opened and saved it, and here as well, the model was gone after saving it. (The xml was erased). http://community.jboss.org/servlet/JiveServlet/showImage/2-627019-16992/Capture.GIF  http://community.jboss.org/servlet/JiveServlet/downloadImage/2-627019-16992/450-347/Capture.GIF 

This is the xml to it:


<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://www.omg.org/bpmn20"; xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"; xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"; xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"; xmlns:di="http://www.omg.org/spec/DD/20100524/DI"; xmlns:drools="http://www.jboss.org/drools"; id="Definition" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" expressionLanguage="http://www.mvel.org/2.0"; name="Error Boundary Event Process" targetNamespace="http://www.omg.org/bpmn20"; typeLanguage="http://www.java.com/javaTypes";>
  <bpmn2:process id="ErrorBoundaryEvent" name="Error Boundary Event Process" isExecutable="true">
    <bpmn2:startEvent id="_1" name="StartProcess">
      <bpmn2:outgoing>_1-_2</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:subProcess id="_2" name="Hello">
      <bpmn2:incoming>_1-_2</bpmn2:incoming>
      <bpmn2:outgoing>_2-_3</bpmn2:outgoing>
      <bpmn2:startEvent id="_2-1" name="StartSubProcess">
        <bpmn2:outgoing>_2-1-_2-2</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:parallelGateway id="_2-2" name="null">
        <bpmn2:incoming>_2-1-_2-2</bpmn2:incoming>
        <bpmn2:outgoing>_2-2-_2-3</bpmn2:outgoing>
        <bpmn2:outgoing>_2-2-_2-4</bpmn2:outgoing>
      </bpmn2:parallelGateway>
      <bpmn2:endEvent id="_2-3" name="ErrorEvent">
        <bpmn2:incoming>_2-2-_2-3</bpmn2:incoming>
        <bpmn2:errorEventDefinition id="_VVD4gOEJEeCmFs5FZDDDYg" drools:erefname="MyError"/>
      </bpmn2:endEvent>
      <bpmn2:task id="_2-4" drools:taskName="MyTask" name="Task">
        <bpmn2:incoming>_2-2-_2-4</bpmn2:incoming>
        <bpmn2:outgoing>_2-4-_2-5</bpmn2:outgoing>
        <bpmn2:ioSpecification id="_VVD4geEJEeCmFs5FZDDDYg">
          <bpmn2:dataInput id="_2-4_TaskNameInput" name="TaskName"/>
          <bpmn2:inputSet id="_VVD4guEJEeCmFs5FZDDDYg"/>
          <bpmn2:outputSet id="_VVD4g-EJEeCmFs5FZDDDYg"/>
        </bpmn2:ioSpecification>
        <bpmn2:dataInputAssociation id="_VVD4hOEJEeCmFs5FZDDDYg">
          <bpmn2:targetRef>_2-4_TaskNameInput</bpmn2:targetRef>
          <bpmn2:assignment id="_VVD4heEJEeCmFs5FZDDDYg">
            <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_VVD4huEJEeCmFs5FZDDDYg">MyTask</bpmn2:from>
            <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_VVD4h-EJEeCmFs5FZDDDYg">_2-4_TaskNameInput</bpmn2:to>
          </bpmn2:assignment>
        </bpmn2:dataInputAssociation>
      </bpmn2:task>
      <bpmn2:endEvent id="_2-5" name="EndEvent">
        <bpmn2:incoming>_2-4-_2-5</bpmn2:incoming>
      </bpmn2:endEvent>
      <bpmn2:sequenceFlow id="_2-1-_2-2" sourceRef="_2-1" targetRef="_2-2"/>
      <bpmn2:sequenceFlow id="_2-2-_2-3" sourceRef="_2-2" targetRef="_2-3"/>
      <bpmn2:sequenceFlow id="_2-2-_2-4" sourceRef="_2-2" targetRef="_2-4"/>
      <bpmn2:sequenceFlow id="_2-4-_2-5" sourceRef="_2-4" targetRef="_2-5"/>
    </bpmn2:subProcess>
    <bpmn2:endEvent id="_3" name="EndProcess">
      <bpmn2:incoming>_2-_3</bpmn2:incoming>
      <bpmn2:terminateEventDefinition id="_VVD4iOEJEeCmFs5FZDDDYg"/>
    </bpmn2:endEvent>
    <bpmn2:intermediateCatchEvent id="_4" name="ErrorEvent">
      <bpmn2:outgoing>_4-_5</bpmn2:outgoing>
      <bpmn2:errorEventDefinition id="_VVD4ieEJEeCmFs5FZDDDYg" errorRef="_VVD4iuEJEeCmFs5FZDDDYg"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:scriptTask id="_5" name="Goodbye" scriptFormat="null">
      <bpmn2:incoming>_4-_5</bpmn2:incoming>
      <bpmn2:outgoing>_5-_6</bpmn2:outgoing>
      <bpmn2:script>System.out.println(&quot;Error handled&quot;);</bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:endEvent id="_6" name="EndProcess">
      <bpmn2:incoming>_5-_6</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2"/>
    <bpmn2:sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3"/>
    <bpmn2:sequenceFlow id="_4-_5" sourceRef="_4" targetRef="_5"/>
    <bpmn2:sequenceFlow id="_5-_6" sourceRef="_5" targetRef="_6"/>
  </bpmn2:process>
  <bpmn2:error id="_VVD4iuEJEeCmFs5FZDDDYg"/>
  <bpmndi:BPMNDiagram id="_VVD4i-EJEeCmFs5FZDDDYg">
    <bpmndi:BPMNPlane id="_VVD4jOEJEeCmFs5FZDDDYg" bpmnElement="ErrorBoundaryEvent">
      <bpmndi:BPMNShape id="_VVD4jeEJEeCmFs5FZDDDYg" bpmnElement="_1">
        <dc:Bounds height="30.0" width="30.0" x="27.0" y="115.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_VVD4juEJEeCmFs5FZDDDYg" bpmnElement="_2">
        <dc:Bounds height="221.0" width="349.0" x="97.0" y="15.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_VVD4j-EJEeCmFs5FZDDDYg" bpmnElement="_3">
        <dc:Bounds height="28.0" width="28.0" x="489.0" y="113.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_VVD4kOEJEeCmFs5FZDDDYg" bpmnElement="_4">
        <dc:Bounds height="30.0" width="30.0" x="380.0" y="224.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_VVD4keEJEeCmFs5FZDDDYg" bpmnElement="_5">
        <dc:Bounds height="48.0" width="80.0" x="355.0" y="288.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_VVD4kuEJEeCmFs5FZDDDYg" bpmnElement="_6">
        <dc:Bounds height="28.0" width="28.0" x="380.0" y="369.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="_VVD4k-EJEeCmFs5FZDDDYg" bpmnElement="_1-_2">
        <di:waypoint xsi:type="dc:Point" x="42.0" y="130.0"/>
        <di:waypoint xsi:type="dc:Point" x="271.5" y="125.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_VVD4lOEJEeCmFs5FZDDDYg" bpmnElement="_2-_3">
        <di:waypoint xsi:type="dc:Point" x="271.5" y="125.5"/>
        <di:waypoint xsi:type="dc:Point" x="503.0" y="127.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_VVD4leEJEeCmFs5FZDDDYg" bpmnElement="_4-_5">
        <di:waypoint xsi:type="dc:Point" x="395.0" y="239.0"/>
        <di:waypoint xsi:type="dc:Point" x="395.0" y="312.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_VVD4luEJEeCmFs5FZDDDYg" bpmnElement="_5-_6">
        <di:waypoint xsi:type="dc:Point" x="395.0" y="312.0"/>
        <di:waypoint xsi:type="dc:Point" x="394.0" y="383.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>
--------------------------------------------------------------

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

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>