use of org.activiti.bpmn.model.ScriptTask in project Activiti by Activiti.
the class ScriptTaskJsonConverter method convertJsonToElement.
protected FlowElement convertJsonToElement(JsonNode elementNode, JsonNode modelNode, Map<String, JsonNode> shapeMap) {
ScriptTask task = new ScriptTask();
task.setScriptFormat(getPropertyValueAsString(PROPERTY_SCRIPT_FORMAT, elementNode));
task.setScript(getPropertyValueAsString(PROPERTY_SCRIPT_TEXT, elementNode));
return task;
}
Aggregations