Good Morning,
I'm trying to get this flow to send a material approval email containing all the materials in the ID.
I have 2 lists (one of applicants and one of materials), the applicants list has only the ID of the "order" and the list of materials contains all the IDS of that order, that is, all the materials that the user requested, as follows print:
Applicants:
Materials:
to reach the approval system, it is through a pwa screen that generates the materials, these are forwarded for approval...
my approval system is not via approvals, but via a screen that I created in the pwa... this screen has 2 buttons that patch the "Aprovação da Área" (area approval) column, on the right side of the material list, its default value is "Pendente" " (pending).
as soon as the materials are approved or rejected, a new informative e-mail is sent.
The question is: I'm having a problem gathering all the materials in ONE E-MAIL per ID, several emails are being sent from the same ID and I would like it to be in one ID, all materials in all steps are sent in and separate emails.
Flow data: I used the trigger from the list of materials, as the approval column is related to the materials,
I also used a string variable to gather all the materials in the emails, but without success, arrays give an error in the system and I don't know how to get out of this.
Does anyone have a solution to unify this data in emails? any similar cases?


Report
All responses (
Answers (