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.

To convert MBOX to PST, start by downloading and i[…]

My Assignment Services stands out as one of the be[…]

Erectile Dysfunction, commonly known as impotence,[…]

Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]