There are several places within an MD Link solution where a Jython script can be specified. The way that your script interacts with the MD Link engine will depend on that context. Utility functions are also available, and are present regardless of context.
Interface to engine for Custom Tasks
Interface to engine for Custom Events
Interface to engine for Web Service Events
Interface to engine for Scriptlets within Tasks
Interface to engine for Scriptlets within Events
Interface to engine for Event's 'Transaction Clean-up' scripts
Interface to engine for Jython scripts in the datamapper
Utility functions (HL7, XML, DICOM, Date-time, Misc) - available to all scripts