07-31-2012 11:54 PM
08-14-2012 03:39 AM
08-14-2012 04:06 AM
08-14-2012 04:31 AM
<bpmn2
rocess id="Diagram2" name="diagram2">
<documentation id="documentation_process" text="Place documentation for the 'diagram2' process here."/>
</bpmn2
rocess>
<bpmn2
tartEvent id="startevent1" name="Start" outgoing="flow1"/>
<bpmn2
erviceTask id="servicetask1" name="Service Task" incoming="flow1" outgoing="flow2" implementation="my.mimos.workflow.sdl.ListenerX" fieldExtensions="/7 /8 /9 /10 /11 /12 /13 /14 /15 /16" resultVariableName="a"/>
<bpmn2
equenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="servicetask1"/>
<bpmn2:EndEvent id="endevent1" name="End" incoming="flow2"/>
<bpmn2
equenceFlow id="flow2" name="" sourceRef="servicetask1" targetRef="endevent1"/>
<bpmn2:FieldExtension fieldname="a" expression="$1"/>
<bpmn2:FieldExtension fieldname="b" expression="2"/>
<bpmn2:FieldExtension fieldname="c" expression="3"/>
<bpmn2:FieldExtension fieldname="d" expression="4"/>
<bpmn2:FieldExtension fieldname="e" expression="5"/>
<bpmn2:FieldExtension fieldname="f" expression="6"/>
<bpmn2:FieldExtension fieldname="g" expression="7"/>
<bpmn2:FieldExtension fieldname="h " expression="8"/>
<bpmn2:FieldExtension fieldname="i" expression="9"/>
<bpmn2:FieldExtension fieldname="j" expression="10"/>
08-14-2012 07:49 AM
08-14-2012 10:59 AM
08-14-2012 11:38 PM
The extract that I've put up there is based on version 5.8.
Correct me if I am wrong, according to the documentation, the values that are in there will not be re-injected again right, even if we try to rearrange the order?
The bulk of code that I've looked through, from BPMN20Marshaller to ServiceTaskExport mostly deal with the generating the bpmn20.xml related files, but never on that workflow file above.
Unless, there's something amiss in one of the codegen files.
//FieldExtension fieldExtension = fieldExtensionExists(serviceTask, fieldName);
/*if(fieldExtension != null) {
fieldExtension.setExpression(fieldExpression);
} else {
FieldExtension newFieldExtension = Bpmn2Factory.eINSTANCE.createFieldExtension(); //this line is from v5.8
newFieldExtension.setFieldname(fieldName);
newFieldExtension.setExpression(fieldExpression);
diagram.eResource().getContents().add(newFieldExtension);
serviceTask.getFieldExtensions().add(newFieldExtension);
}*/
08-15-2012 03:07 AM
08-15-2012 04:40 AM
08-15-2012 10:24 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.