Skip to content

Instantly share code, notes, and snippets.

@estebanroblesluna
Created May 11, 2011 12:32
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 estebanroblesluna/966377 to your computer and use it in GitHub Desktop.
Save estebanroblesluna/966377 to your computer and use it in GitHub Desktop.
<definitions
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:activiti="http://activiti.org/bpmn"
targetNamespace="Examples">
<process id="processLead" >
<startEvent id="theStart" />
<sequenceFlow sourceRef="theStart" targetRef="createSalesforceContact" />
<sendTask id="createSalesforceContact" activiti:type="mule">
<extensionElements>
<activiti:field name="endpointUrl">
<activiti:string>vm://createSalesforceContactFromActiviti</activiti:string>
</activiti:field>
<activiti:field name="language">
<activiti:string>juel</activiti:string>
</activiti:field>
<activiti:field name="payloadExpression">
<activiti:string>#{firstName},#{lastName},#{email},#{title},#{phone}</activiti:string>
</activiti:field>
<activiti:field name="resultVariable">
<activiti:string>theVariable</activiti:string>
</activiti:field>
</extensionElements>
</sendTask>
<sequenceFlow sourceRef="createSalesforceContact" targetRef="theEnd" />
<endEvent id="theEnd" />
</process>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment