Sending PDF attachement with workflow

Hello,

Iโ€™m trying to send the same template with two workflow

  1. with a button
    2X_9_905d66a1ff83943a663b27415fc116fb2bad3bdb.jpeg
  2. whenever the parent table has a new entry (with one or several related entries)
    2X_3_3b1573e8428f0af8cf621049086c65fec7794574.jpeg

when the user hit the button, the template works perfectly and send the info of the parent and children table, but when the workflow is triggered by a new entry, it only send the info of the parent table

can you tell me why is that and help me to send the template with all the data automatically ?

Thank yo for your help

Solved Solved
0 8 648
1 ACCEPTED SOLUTION

The reason is because the parent record is saved first and that will trigger the Workflow before Child records are saved. Check this sample app (Parent Workflow) from this Portfolio how you can do that. https://www.appsheet.com/portfolio/531778

View solution in original post

8 REPLIES 8

Chiming in @Aleksi

@Felix_Eduardo_Sanche
When you are creating a new parent record, are you creating the related child records with reverse reference? I mean with a ref whose isPartOf property set to TRUE?

yes

The reason is because the parent record is saved first and that will trigger the Workflow before Child records are saved. Check this sample app (Parent Workflow) from this Portfolio how you can do that. https://www.appsheet.com/portfolio/531778

Nice ! thank you @Aleksi

and @LeventK for putting aleksi

Youโ€™re welcome

Top Labels in this Space