Make/Integromat doubt
I need to automate a process with Make and I have a problem. I have created a Yes/No field and from Make I´m able to modify it.
In this field I have written a code in Trigger after the change like this:
if Yes then
let mySlides := (select 'Slides V2' where 'End Date' < today() and 'Billing Status' = 1);
for i in my Slides do
let myName := i.Labs.'Laboratory name' + "-" + i.'Proforma number';
i.(Image := importFile(i, printAndSaveRecord(i, "Proforma"), myName + ".pdf"))
end
end
This action works perfectly if I make the modification manually but not when it is done by Make.
If I include more instructions such as creating records and filling them in, it also does it, but not the part of printing and saving a template.
What I can do?
4 replies
-
Antonio Can you try with the code put between
do as server
<your code>
end
and see if this works?
-
Thanks RoSoft_Steven but I've already tried that option.
-
Printing is not allowed after triggers. Maybe this is it because of the printAndSave Record
Content aside
-
1
Likes
- 1 yr agoLast active
- 4Replies
- 95Views
-
4
Following