-
1. Re: signal event designed in eclipse does not show up in guvnor oryx designer
tsurdilovic Jan 18, 2012 10:49 PM (in response to pmancham)Please attach the BPMN2 of your process created in Eclipse and I will test locally and fix asap if this is indeed a bug.
-
2. Re: signal event designed in eclipse does not show up in guvnor oryx designer
pmancham Jan 19, 2012 7:27 PM (in response to tsurdilovic)<?xml version="1.0" encoding="UTF-8"?>
<definitions id="Definition"
targetNamespace="http://www.jboss.org/drools"
typeLanguage="http://www.java.com/javaTypes"
expressionLanguage="http://www.mvel.org/2.0"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
xmlns:g="http://www.jboss.org/drools/flow/gpd"
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:tns="http://www.jboss.org/drools">
<process processType="Private" isExecutable="true" id="com.sample.bpmn.signalEventTest" name="Signal Event Test" tns:packageName="defaultPackage" >
<!-- nodes -->
<startEvent id="_1" name="StartProcess" />
<intermediateCatchEvent id="_2" name="Signal" >
<dataOutput id="_2_Output" name="event" />
<dataOutputAssociation>
<sourceRef>_2_Output</sourceRef>
<targetRef>First_Event_Response</targetRef>
</dataOutputAssociation>
<outputSet>
<dataOutputRefs>_2_Output</dataOutputRefs>
</outputSet>
<signalEventDefinition signalRef="VsResponse"/>
</intermediateCatchEvent>
<endEvent id="_3" name="End" >
<terminateEventDefinition/>
</endEvent>
<!-- connections -->
<sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
<sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" />
</process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.signalEventTest" >
<bpmndi:BPMNShape bpmnElement="_1" >
<dc:Bounds x="45" y="45" width="48" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_2" >
<dc:Bounds x="176" y="74" width="48" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_3" >
<dc:Bounds x="315" y="62" width="48" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="_1-_2" >
<di:waypoint x="69" y="69" />
<di:waypoint x="200" y="98" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_2-_3" >
<di:waypoint x="200" y="98" />
<di:waypoint x="339" y="86" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
-
3. Re: signal event designed in eclipse does not show up in guvnor oryx designer
tsurdilovic Jan 19, 2012 9:39 PM (in response to pmancham)Looks like you have some problems with the pasted BPMN2, specifically:
<dataOutputAssociation>
<sourceRef>_2_Output</sourceRef>
<targetRef>First_Event_Response</targetRef>
</dataOutputAssociation>
the targetRef First_Event_Response does not exist, did you miss to set a process variable?
I cannot reproduce problems with signal events on jBPM Designer 2.0 or the latest from master at people.redhat.com/tsurdilo/designer/master. You can with that successfully import for example:
which contains signal events.
-
5. Re: signal event designed in eclipse does not show up in guvnor oryx designer
tsurdilovic Jan 20, 2012 1:45 PM (in response to pmancham)This typically indicate a JavaScript error. Can you open up your Error Console and check? Also attach the BPMN2 of your process as it is when you experience this problem.
Thanks.
-
6. Re: signal event designed in eclipse does not show up in guvnor oryx designer
pmancham Jan 20, 2012 3:02 PM (in response to tsurdilovic)This happens for all the process files. I am pasting one of them below
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="Definition"
targetNamespace="http://www.jboss.org/drools"
typeLanguage="http://www.java.com/javaTypes"
expressionLanguage="http://www.mvel.org/2.0"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
xmlns:g="http://www.jboss.org/drools/flow/gpd"
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:tns="http://www.jboss.org/drools">
<itemDefinition id="_First_Event_ResponseItem" structureRef="String" />
<process processType="Private" isExecutable="true" id="com.sample.bpmn.signalEventTest" name="Signal Event Test" tns:packageName="defaultPackage" >
<!-- process variables -->
<property id="First_Event_Response" itemSubjectRef="_First_Event_ResponseItem"/>
<!-- nodes -->
<startEvent id="_1" name="StartProcess" />
<intermediateCatchEvent id="_2" name="Signal" >
<dataOutput id="_2_Output" name="event" />
<dataOutputAssociation>
<sourceRef>_2_Output</sourceRef>
<targetRef>First_Event_Response</targetRef>
</dataOutputAssociation>
<outputSet>
<dataOutputRefs>_2_Output</dataOutputRefs>
</outputSet>
<signalEventDefinition signalRef="VsResponse"/>
</intermediateCatchEvent>
<endEvent id="_3" name="End" >
<terminateEventDefinition/>
</endEvent>
<!-- connections -->
<sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
<sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" />
</process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.signalEventTest" >
<bpmndi:BPMNShape bpmnElement="_1" >
<dc:Bounds x="45" y="45" width="48" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_2" >
<dc:Bounds x="176" y="74" width="48" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_3" >
<dc:Bounds x="315" y="62" width="48" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="_1-_2" >
<di:waypoint x="69" y="69" />
<di:waypoint x="200" y="98" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_2-_3" >
<di:waypoint x="200" y="98" />
<di:waypoint x="339" y="86" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
And here is the error-console:
-
7. Re: signal event designed in eclipse does not show up in guvnor oryx designer
pmancham Jan 24, 2012 7:06 PM (in response to pmancham)Any help with this?
-
8. Re: signal event designed in eclipse does not show up in guvnor oryx designer
tsurdilovic Jan 24, 2012 8:17 PM (in response to pmancham)Hi sorry I can't reproduce the issue. Can you:
1) Get the latest from Designer master (people.redhat.com/tsurdilo/designer/master) and replace you war with it
2) Clear your browser cache before trying again
-
9. Re: signal event designed in eclipse does not show up in guvnor oryx designer
pmancham Jan 25, 2012 1:47 PM (in response to tsurdilovic)Well, figured it out (trial & error). Somehow the following line in the workDefinition was causing trouble. I removed it and it started working!
"icon" : ""