Questions and discussion around ProcessMaker 2 documentation

Moderator: amosbatto

By nicolaj
#16646
http://wiki.processmaker.com/index.php/ ... s#Examples

Example "Trigger 3" results in an error if syntax is:

@@Data = executeQuery('SELECT DESC, DESC2 FROM DESCRIPTION', 'DataSource1');
@@issueDesc1 = @@Data[1]['DESC'];
@@issueDesc2 = @@Data[1]['DESC2'];

Works:

$Data = executeQuery('SELECT DESC, DESC2 FROM DESCRIPTION', 'DataSource1');
@@issueDesc1 = $Data[1]['DESC'];
@@issueDesc2 = $Data[1]['DESC2'];

Best regards
Nicolaj
By nicolaj
#16650
Correction:
My version doesn't work either (in a trigger). Just doesn't show any error :-(

Could anybody confirm the example shows the following error?
syntax error, unexpected '[':

Regards
Nicolaj
By nicolaj
#16659
Correct Syntax (for me):

@@Data = executeQuery('SELECT DESC, DESC2 FROM DESCRIPTION', 'DataSource1');
@@issueDesc1 = @=Data[1]['DESC'];
@@issueDesc2 = @=Data[1]['DESC2'];

regards
Nicolaj

Hi, I have a case which the duties of the users ar[…]

Starting subprocess

Can we start multiple instances of a sub process. […]

mobile app source code

ProcessMaker Mobile App Android, Use out-of-the-bo[…]

Timer does not works

Hi guys, I'm completely new to process maker. Rece[…]