Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderators: ArturoRobles, ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By HeshanKaru1994
Is it a best practice to write all the business logic(javascript and trigger level php) inside a plugin and importing the plugin to the workspace? (So that the pmx file can be relatively small in size)
User avatar
By amosbatto
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:
http://{your-domain}/plugin/{pluginName}/{your directory}/{your-file}

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.
Timeout Not Sending Email

I am confused, but I have setup a self-service as[…]

Hello; In a dynaform (for example: called "Gr[…]

issue with processmaker 3.2

Ok thank you but i have more questions For exam[…]

No, there's nothing wrong in the browser network a[…]