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.
#825568
You can use Cases::LoadCase() and userInfo() to get this information in a trigger. Then, store the email in a case variable that can be used later in the process or call PMFSendMessage().

Create the following trigger:
Code: Select all
$c = new Cases();
$aCaseInfo = $c->LoadCase(@@APPLICATION);
$aUserInfo = userInfo( $aCaseInfo['APP_INIT_USER'] );
@@emailStartedCase = $aUserInfo['mail'];
Then, you can use @@emailStartedCase with PMFSendMessage().
#825573
FreddyBernal wrote: Wed Jul 24, 2019 9:36 pm Thanks!!!
Where I can found information about the object model?
We don't have documentation on every class. You can start by reading about the Propel classes:
https://wiki.processmaker.com/3.0/Inter ... el_classes
Then see the source code at workflow/engine/classes/model.
Task doesnt have any users.

The first problem is that you need to use = = in[…]

Just guide me to implement this?

Hi, I have a text control (rfq_segment) and I wan[…]

Genial!!! gracias. :D i need to translate an[…]