Hi,
I have a scenario with Parent and child Accounts. Had to do multiple Roll up calculation on the Parent Account based on the fields in Child Accounts. Wrote a custom workflow to do all the calculations which works fine. But have a scenario below which fails.
Parent Account A has a Child Account C . Now On Child C I wanted to change the Parent Account From A to B.In this case the rollup calculations has to happen on the Parent Account B which works fine. I want to do the Calculations even on parent Account A also as the child C is no longer with parent A.
I tried calling 2 workflows on this. 1 is a asynchronous workflow which triggers after the parent account is changed and another workflow which is a real time workflow which triggers before the parent account is changed. But this is working when i tested with 1 field but when tried for multiple fields it is not working. Not sure before the real time workflow executes the asynchronous workflow starts executing and so the calculations are not happening correctly. My custom workflow only runs on child accounts. Can anyone help me with the ways that I can trigger the workflow on previous parent child account.
*This post is locked for comments