HI All
I'm an absolute beginner and struggling with a flow to automate a process in my app.
I have 4 Data verse tables. A "Header" table which creates an auto-number, and has a lookup to a "customers" table. A "Details" table which has a parent/child relationship to the header table, and also a lookup to a "products" table. So it's basically like an orders app, except in this case it's items being returned to us. I want a flow that sends an email eventually to the person responsible for processing the return, so needs to have the auto-number, the customer details, the details of the products being returned, and the type of return to be processed.
I have my trigger as a modify record in the headers table (added a field to say when "completed") - and I then need to pull in the customers, and the details of the return (can be several rows) (and so also the products table!). I also have a choices column in my details table which specifies which type of return.... I tried initializing a variable using some help from online, but although it says it succeeded it's not showing the result.
Here's what i have:



But although it says it ran successfully - this is my result... the detail lines are both listed correctly, but the "TYPE" should be a column on the end! My variable is blank!


Apologies for the long post - any advice/help greatly appreciated!