It depends on what kind of code you have. If you want to add PHP functions or PHP classes, then you can create a plugin that uses the option PMFunction class
Then you can write triggers that calls the functions or classes that you added to the plugin. You can also add image files or other types of files to your plugin and access them with the URL:
All of this is a lot of work in my opinion. It is a lot easier to just include all your code and files in the process.
Amos B. Batto ♦ ProcessMaker Forum Manager since 2009