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"))
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?