// Create a new data link and add it to the process
ProcessItem process = sourceParam.getProcess();
DataLink dataLink = process.createDataLink();
// Link the parameters
dataLink.link(sourceParam, targetParam);
// Apply auto-conversions if necessary
String sourceMemberPath = DataLinkImpl.checkAutoConversion(sourceParam, null, targetParam, null);
dataLink.setSourceMemberPath(sourceMemberPath);