Getting Error in Schedule Custom Groovy Object Functions
SummaryJBO-27023: Failed to validate all rows in a transaction
Having an object function in Account object which fetch set of child accounts and copy attributes from parent of that account and set value to the child account. Once this process completed in loop, at the end of function calling webservice to submit "Request Account Assignment" ESS job. The process flow is like below,
1. Submit Schedule Custom Groovy Object Function
2. Object Function process child records in while loop
3. Call webservice to submit "Request Account Assignment"
I can see submitted Account Assignment job and it's completed without an error. But assignment job starts & end before "Schedule Custom Groovy Object Function" gets completed. Also I am getting an error for object function execution and because of the child accounts are not updated with parent attributes. But I tried to call same object function from before update trigger it's working fine. All child records are updated with parent attributes