I have the following logic implemented:
- approval process with a field update that set's a datetime on object X to now()
- trigger listening to a change of this datetime field on after update. That trigger does some checks on a child object of object X and will change a status of those children.
- on object X, I also have a roll-up summary field that get's recalculated based on changes made in step 2 to a status field of the child records
- then, there is a workflow that looks at changes in the roll-up summary field to do some further actions
The problem is that the last part (the workflow) is not being triggered. (I don't even see it in my logs)
If I do a manual update to these status fields on the child objects, the workflow IS triggered and I see it in the logs happening too.
Any idea why this could be? When reading through the articles on order of execution, I can't get it why it wouldn't call the workflow. Especially since I read in one of the docs that changes in the roll-up summary field would cause a save on the parent record...