Questions and discussion about using ProcessMaker 2: user interface, running cases and functionality
Forum rules: Please search to see if a question has already been asked before posting. Please don't ask the same question in multiple forums.
User avatar
By amosbatto
#814195
You can use this trigger code to execute another trigger:
Code: Select all
$triggerBId = PMFGetUidFromText('TriggerB', 'TRI_TITLE')[0];
$g = new G();
$g->LoadClass("wsBase");
$oWS = new wsBase();
@@ret = $oWS->executeTrigger(@@USER_LOGGED, @@APPLICATION, $triggerBId, @%INDEX); 
Where "TriggerB" is the title of the other trigger.

You can also use the executeTrigger() web service or PUT /cases/{app_uid}/execute-trigger/{tri_uid} to execute TriggerC and TriggerD, which is recommended if you want to execute a trigger in another case or task or as another user.

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]

Betvisa clone scripts are pre-built software solut[…]