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.

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]

Cenforce 150 is a medication used to cope with a c[…]

What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]