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

Moderator: amosbatto

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 Vysakh

Is it possible to communicate between two ProcessMaker instances using web-service ? If it is possible could you describe how it is possible ?
We are using Processmaker version 3.2.1 -community
Database MySql Version 5.6.10
Webserver Apache/2.4.18
PHP Version 5.6.40
Operating System Linux
Yes, you can call the web services of one instance of ProcessMaker from another.
For example, let's say that you have ProcessMaker installed at and another at
Then, in a trigger or plugin in, you can use this PHP code:
Code: Select all
$client = new SoapClient('');
$params = array(array('userid'=>'johndoe', 'password'=>'foobar'));
$result = $client->__SoapCall('login', $params);

if ($result->status_code == 0)
   $sessionId = $result->message;
else {
   throw new Exception("Unable to connect to ProcessMaker.\nError Number: $result->status_code\n" .
         "Error Message: $result->message\n");

$params = array(array('sessionId'=>$sessionId));
$result = $client->__SoapCall('caseList', $params);

@=casesGrid = array();
$counter = 1;
$aCases = $result->cases;

if ($aCases != (object) NULL) {
   foreach ($aCases as $aCase) {
      @=casesGrid[ $counter ] = array(
           'caseTitle' => $aCase->name, 
           'caseId' => $aCase->guid, 
           'caseStatus' => $aCase->status

Hola, Podrías utilizar un 'start timer eve[…]

Hi, I think that this is not possible because at[…]


Hi, Please set the display_errors = Off in your […]