Page 1 of 1

HOW TO INCLUDE THE GULLIVER PHP

Posted: Tue Nov 19, 2019 5:45 am
by Huyenjohn
My Problem:
1. How to include the gulliver php in REST API

Issue:
Fatal error: Class 'ProcessMaker\Services\Api\G' not found in C:\Bitnami\processmaker-3.0\apps\processmaker\htdocs\workflow\engine\src\ProcessMaker\Services\Api\Project.php on line 239

Re: HOW TO INCLUDE THE GULLIVER PHP

Posted: Wed Nov 20, 2019 5:41 pm
by dan123dan
Hi.

The gulliver script needs to be executed inside the workflow/engine directory. Log in to the ProcessMaker server as the root user or a user with administrative powers.

Note:
Gulliver script cannot be created on Windows servers, because Windows does not support symbolic links

Re: HOW TO INCLUDE THE GULLIVER PHP

Posted: Sun Nov 24, 2019 1:12 am
by programerboy
Hi,

You can use like this for cal G functions:
Code: Select all
\G::auditLog('ExportProcess','Export process "' . $granularExporter->getProjectName() . '"');
https://pmlearning.info
Thanks