Workflow Template Issue

Hi.

I have create a Workflow Template based on a Tasks Table which has a related table Tasks_Line_Details. When a record is created in the Tasks Table the Workflow triggers fine but for some reason the Tasks_Line_Details are not being displayed but if I go into the Workflow Rule in the editor and run a โ€˜Testโ€™ for the same record the email is coming through with the Tasks_Line_Details.

I am using <<Start:[Related Tasks_Line_Details]>> to show the Line Details. I canโ€™t seem to workout why this behaviour is happening.

Any advice would be great, thank you.

0 3 133
3 REPLIES 3

@MauriceWhelan
You see that behavior because first the parent records are saved and then the child records. When you trigger the workflow from the parent, itโ€™s triggered once the parent record is saved where the child records are not in the table yet. Please see this if itโ€™s helpful from @Aleksiโ€™s portfolio
https://www.appsheet.com/samples/How-to-send-Workflow-email-with-child-records-when-parent-record-is...

Thank you @LeventK for the guidance and the link to the sample app.

Youโ€™re welcome @MauriceWhelan, my pleasure.

Top Labels in this Space