propertiesNode.put(PROPERTY_SCRIPT_FORMAT, scriptTask.getScriptFormat());
propertiesNode.put(PROPERTY_SCRIPT_TEXT, scriptTask.getScript());
}
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;
}