Add a correlation key and property

This commit is contained in:
mike cullerton 2022-08-12 17:00:21 -04:00
parent 9b57e49695
commit d2ab172f54
1 changed files with 13 additions and 0 deletions

View File

@ -11,6 +11,9 @@
<bpmn:correlationKey name="lover">
<bpmn:correlationPropertyRef>lover_name</bpmn:correlationPropertyRef>
</bpmn:correlationKey>
<bpmn:correlationKey name="instrument">
<bpmn:correlationPropertyRef>lover_instrument</bpmn:correlationPropertyRef>
</bpmn:correlationKey>
<bpmn:correlationKey name="singer" />
</bpmn:collaboration>
@ -25,6 +28,16 @@
</bpmn:message>
<bpmn:message id="love_letter_response" name="Love Letter Response" />
<bpmn:correlationProperty id="lover_instrument" name="Lover&#39;s Instrument">
<bpmn:correlationPropertyRetrievalExpression messageRef="love_letter">
<bpmn:formalExpression>lover.instrument</bpmn:formalExpression>
</bpmn:correlationPropertyRetrievalExpression>
<bpmn:correlationPropertyRetrievalExpression messageRef="love_letter_response">
<bpmn:formalExpression>from.instrument</bpmn:formalExpression>
</bpmn:correlationPropertyRetrievalExpression>
</bpmn:correlationProperty>
<bpmn:correlationProperty id="lover_name" name="Lover&#39;s Name">
<bpmn:correlationPropertyRetrievalExpression messageRef="love_letter">
<bpmn:formalExpression>lover.name</bpmn:formalExpression>