Questions and discussion about using ProcessMaker 2: user interface, running cases and functionality

Moderators: ArturoRobles, ArturoRobles

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 <[email protected]>", "[email protected], [email protected]","", "","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, Tell your error here. Please check the foll[…]

Hi, I have a process that works fine on 3.2.1 -com[…]

Hi, You must change your codes like this: func[…]

issue with processmaker 3.2

From what I understand, you want to incorporate th[…]