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.

Being the best in the started business is the obje[…]

Winzo is a popular and unique game on the mobile p[…]

Cannot create process using templets

Real details. The problem was solved by effect!

However, it is essential to use it responsibly and[…]