xlsx attachment file related

Hi, i made an app for to prepare the orders and i need to send file xlsx only with the list of products.

I have 2 tables, ORDERS and DETAILS ORDERS, than i need to send the DETAILS related

At the moment i've a bots to send pdf file (WHEN NEW ROW CREATED IN ORDERS TABLE)Screenshot 2025-04-23 alle 14.50.11.png , i tried to change the kind of file to generate, but i receive only the order file without the relatives products. How can i do to resolve it?

@AleksiAlkio 

Solved Solved
0 10 177
1 ACCEPTED SOLUTION

I SOLVED:

The system don't prepare the correct file: In START it autogenerate this code:

<<Start: Filter(Orders Table, true)>><<[Id Order]>>

The correct Sting is:

<<Start: SELECT(Order Detail[Id Detail], [Id Ordine] = [_THISROW].[Id Detail])>><<[Id Order]>>

View solution in original post

10 REPLIES 10

Did you generate the Bot/File right after the Parent with child records were saved? What happens when you try it again with existing records?

it send a ORDERS TABLE

Screenshot 2025-04-23 alle 17.38.07.png

i need products list (RELATIVES PRODUCTS) not ORDERS TABLE

So.. what is your template? Please take a screenshot from it.

This is the template Screenshot (1).png

but it is the ORDERS LIST not the ORDER DETAILS, i used CREATE TEMPLATE. 

can you help me @AleksiAlkio  please

What is your START: expression in your Excel template?

what do you mean? i attach all screen shot

When is update a row in ORDERS TABLE, send the file xlsx about the ORDER DETAILS.

In the first case it work with the pdf file correctly, in the second case a receive a list of all ORDERS

Wh0Screenshot 2025-04-29 alle 23.30.52.pngScreenshot 2025-04-29 alle 23.31.52.pngScreenshot 2025-04-29 alle 23.32.31.png

In your screenshot from the Excel template, it doesn't show what that START: expression is. It shows just the beginning of it.

I SOLVED:

The system don't prepare the correct file: In START it autogenerate this code:

<<Start: Filter(Orders Table, true)>><<[Id Order]>>

The correct Sting is:

<<Start: SELECT(Order Detail[Id Detail], [Id Ordine] = [_THISROW].[Id Detail])>><<[Id Order]>>