Skip to content

Instantly share code, notes, and snippets.

@estebanroblesluna
Created May 10, 2011 12:07
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/964351 to your computer and use it in GitHub Desktop.
Save estebanroblesluna/964351 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="processOrderWithTweetPublish" >
<startEvent id="theStart" />
<sequenceFlow sourceRef="theStart" targetRef="processOrderAndTweet" />
<sendTask id="processOrderAndTweet" activiti:type="mule">
<extensionElements>
<activiti:field name="endpointUrl">
<activiti:string>vm://tweetFromActiviti</activiti:string>
</activiti:field>
<activiti:field name="language">
<activiti:string>juel</activiti:string>
</activiti:field>
<activiti:field name="payloadExpression">
<activiti:string>I have just purchased a #{productName} from Mulesoft.com</activiti:string>
</activiti:field>
<activiti:field name="resultVariable">
<activiti:string>theVariable</activiti:string>
</activiti:field>
</extensionElements>
</sendTask>
<sequenceFlow sourceRef="processOrderAndTweet" 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