Skip to content

Instantly share code, notes, and snippets.

@meyerdan
Last active August 29, 2015 13:56
Show Gist options
  • Save meyerdan/9112186 to your computer and use it in GitHub Desktop.
Save meyerdan/9112186 to your computer and use it in GitHub Desktop.
Bpmn Model Api Delegation Code
public class ExampleServiceTask implements JavaDelegate {
public void execute(DelegateExecution execution) throws Exception {
BpmnModelInstance modelInstance = execution.getBpmnModelInstance();
ServiceTask serviceTask = (ServiceTask) execution.getBpmnModelElementInstance();
// read properties from model:
serviceTask.getIoSpecification();
//...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment