I have to workflows, on the parent table and other on the children table. I need that the workflow on the children table runs first. The workflow on the parent table sends an email. the email is leaving with blank info, it seems that is going out before the workflow on the children table.
Unfortunately work flows will only go in the order in which the records are synced, and you canโt create a child record without creating the parent record first; what I mean is when youโre using the app youโll create the parent record first, which then causes your work loaded fire off.
If you want it to wait till after the child record, youโll have to create a system that watches for the right condition, something like the related child records isnโt blank, then it fires off.
But youโll have to initiate that off of the child table save, or initiate another few actions that trigger the workflow for your parent table.
Do you know if I triggered from the children table, does every record trigger the workflow? or It will triger only once?
Depends on the workflow:
for adds, it only runs when adding a new records;
updates run on every save after the first;
delete runes only when deleted.
If you donโt put a condition on the update workflow, then yes it will fire off on every update.
You can read more on workflows here:
I am not sure if it is relevant but topic โSending Email After Adding a Parent Record and All of Its Childrenโ in this article may be helpful https://help.appsheet.com/en/articles/961707-workflow
Thanks, I tried this and the form saved event is not working, any ideas why. I have followed the article instructions.
User | Count |
---|---|
14 | |
11 | |
9 | |
7 | |
4 |