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.
By seallaes
#824137
Hello!
There is a code in the trigger:
$app = @@APPLICATION;
@@caseNumber = $result[1]['APP_NUMBER'];
PMFSendMessage($app, "processmaker <noreply@aton.ru>", "AG@mail.ru, SB@mail.ru","", "","RFC {@@caseNumber} impact system ATMain", "test");

Most often it works correctly and writes the case number:
"RFC 123 impact system ATMain"

But sometimes gives this:
"RFC {pmToString(Array['caseNumber'])} impact system ATMain"

Why can this happen?

Hi there, I have 3.5.7, 3.8.1 and 3.8.2 versi[…]

AI bot development involves creating intelligent b[…]

AI bot development encompasses creating intelligen[…]

A stake clone script is a pre-coded solution desig[…]