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.
#794371
You should import a custom code file with your function and then execute it at the beginning of trigger like this:
Code: Select all
require_once("/opt/mycode/myfunctions.php");
myCustomFunction();
// rest of your code here
If using Linux/UNIX, then make sure that /opt/mycode/myfunctions.php is readable:
chmod +r /opt/mycode/myfunctions.php

Another way to do this is to create a custom plugin with its custom PMFunction class which contains your function and then call that function at the start of each triggert. See: http://wiki.processmaker.com/3.0/Plugin ... tion_Class

I have a suggest where user have to select some do[…]

The 500 Internal Server Error is the general catch[…]

Really very nice blog information for this one and[…]

This is a long, lengthy and cumbersome process. T[…]