Questions and discussion around ProcessMaker 2 documentation
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

The online gambling industry is booming, and with[…]

🚀 Discover the future of crypto trading with Bit e[…]

ucas personal statement help

If you want ucas personal statement help than you […]

Though Many popular NFT Marketplaces are in the cr[…]