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?

Being the best in the started business is the obje[…]

Winzo is a popular and unique game on the mobile p[…]

Cannot create process using templets

Real details. The problem was solved by effect!

However, it is essential to use it responsibly and[…]