- Thu Dec 12, 2019 10:44 am
#827154
I have a trigger who does a query to a external database,
In that database i have a miltiples perssons with multiplle rows request.
So i need to send a email to each one with a output document with data in database?
For exemple
Person 1
1 Computer
2 Monitores
email: user1@test.com
Person 2
5 mouses
1 PC
3 Keybordas
...
The itens return has array
Its possible to send a email to each one with the itens of them?
in my trigger who save the data to processmaker variavels, and foreach row in person a send a email.
The problem is the emails are correctly sent, and the fields are in the email mensagem, but in the output document the variavels are empaty, but the system variavels (like APP_number ) are correctly send.
For this problem i am trying to use some of this exemples:
https://wiki.processmaker.com/3.0/Outpu ... _Documents
viewtopic.php?t=710032
can anyone help me?
In that database i have a miltiples perssons with multiplle rows request.
So i need to send a email to each one with a output document with data in database?
For exemple
Person 1
1 Computer
2 Monitores
email: user1@test.com
Person 2
5 mouses
1 PC
3 Keybordas
...
The itens return has array
Its possible to send a email to each one with the itens of them?
in my trigger who save the data to processmaker variavels, and foreach row in person a send a email.
The problem is the emails are correctly sent, and the fields are in the email mensagem, but in the output document the variavels are empaty, but the system variavels (like APP_number ) are correctly send.
For this problem i am trying to use some of this exemples:
https://wiki.processmaker.com/3.0/Outpu ... _Documents
viewtopic.php?t=710032
can anyone help me?