// Apply auto-conversions if necessary
String sourceMemberPath = DataLinkImpl.checkAutoConversion(sourceParam, null, targetParam, null);
dataLink.setSourceMemberPath(sourceMemberPath);
// Add the link to the process
process.addDataLink(dataLink);
// Now create a connection figure and add it to the drawing
ProcessDrawing drawing = modeler.getDrawing();
ParamConnection connection = drawing.createParamConnection(dataLink);
drawing.add(connection);