- Fri Apr 26, 2019 3:58 am
#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?
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?