Page 1 of 1

Invalid code. I have no idea

Posted: Sun Oct 07, 2018 11:17 pm
by testmail
/**
* @method
*
*
* @name test
* @label test()
*
* @param int | $ba | number1 | number1
* @param int | $bb | number2 | number2
* @return int | @@z
*/
function sum($ba, $bb) {
$z = 123;
return $z;
}

Re: Invalid code. I have no idea

Posted: Tue Oct 09, 2018 10:11 am
by andreaadamczyk
Hello,

Have you created a plugin in which you want to add this function?

If so, you could follow this guide https://wiki.processmaker.com/3.0/Plugi ... mFunctions that will help you through the process.

I hope it helps you.

Regards.