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.

Sending documents as base64 worked the last time I[…]

I don't see those problems using PM 3.3.10 Communi[…]

Tengo el mismo problema con el MultipleFile, inten[…]

Getting this error

_ERROR_ : The row '3149943815d31b85fdf39650326697[…]