Skip to content

Instantly share code, notes, and snippets.

@meyerdan
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meyerdan/c3d85082a0c8e88ff6d5 to your computer and use it in GitHub Desktop.
Save meyerdan/c3d85082a0c8e88ff6d5 to your computer and use it in GitHub Desktop.
I/O mapping
<bpmn2:serviceTask id="requestScore" name="Request Rating Score">
<bpmn2:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="customer">${ XML(customers).xPath('/customers/customer[1]').element() }</camunda:inputParameter>
<camunda:inputParameter name="requestedAmount">${ amount }</camunda:inputParameter>
<camunda:inputParameter name="someData">
<camunda:map>
<camunda:entry key="a">${b}</camunda:entry>
<camunda:entry key="c">${d}</camunda:entry>
</camunda:map>
</camunda:inputParameter>
<camunda:outputParameter name="score">${ XML(result).childElement("rating") }</camunda:inputParameter>
</camunda:inputOutput>
</bpmn2:extensionElements>
</bpmn2:serviceTask>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment