Hello
New day , new problem, and perhaps new solution?
In my apps, i try to create documents and save them on g-drive.
With my first “behaviour/worflow” no problem with the export of datas from a table.
With the second which may send a list of datas from another table if i use the generated document template, Test button is ok, and i can generate manually , but this document is only for one row, and i need to list the details for ech [numctrl] value.
In my table i have different rows with a same id [numctrl] i put this [numctrl] as key.
Here the error’s message, the button test ok, but impossible to send the document at the end,
Failed: Action not performed because 2 errors are present.
Error: Workflow rule ‘rapport_qual 2’ action ‘doc_ra_qual’ Body template. Start expression ‘[Numctrl]’ should generate a List of Ref values. Please verify that it generates a List and that the contents of the List are Ref values. Ref values should come from the ‘Key’ column of the referenced table.
Error: The document body is empty.
I think the second error dues to the first one, but I don’t understand for the problem of the list in the first error.
After a long reflexion and looked in the faq, it’s like design of «detail orders».
So, I taught to change and to get the informations using relation: starting from a control closed with the value [Numctrl] as single reference, then
i put my value [Numctrl] as a key in the first table « Prepctrl » where i plan my control,
i put the value[Numctrl] as a Ref (joined) with the table « Prepctrl » in my second table «pointctrl»,
i put the value[Numctrl] as a Ref (joined) with the table « Prepctrl » in my third table «signctrl».
For the 3 tables, the columns [Numctrl] are Keys.
For the table « Prepctrl » the column is text type, for the two others, « Ref »
I came back to my workflows, create a new template for my document, it seems allright, I test the workflow creation ( button test) and it create a document ( with the columns of my table « signctrl »).
I put the result of a masked column coming from « signctrl » , in my document it’s send another document…perfect
I change in my template using the principes of the « OrderDetailTable Template» ( Cascade Fine Fruits), and it’s goes wrong…
Failed: Action not performed because 2 errors are present. Error: Workflow rule ‘rapport_qual 3’ action ‘doc_ra_qual’ Body template. Start expression ‘[Numctrl]’ should generate a List of Ref values. Please verify that it generates a List and that the contents of the List are Ref values. Ref values should come from the ‘Key’ column of the referenced table. Error: The document body is empty.
3 days to turn around the template…faq and community, witout result.
i have a single [numctrl] in « prepctrl » & « signctrl » ( only one control can exist with this ID and of course only one control can be signed .
But in my table « pointctrl », for each control i can have 1 to x [numctrl] rows
What’s the matter, and what must be change to get a list in my document?
Thanks to anyone who understand more than me……and could help me
( Sorry for poor english language)


















