Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
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

Hi Buddy, Although, there are lots of solution yo[…]

🚀 Kaçırmayın! Dinamik kripto endüstris[…]

Are you thinking of joining the exciting world of […]

I started betting on sports at https://ggbet.co.uk[…]