Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Getting Error in Schedule Custom Groovy Object Functions — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting Error in Schedule Custom Groovy Object Functions

Received Response
15
Views
2
Comments
edited Nov 5, 2020 12:25PM in Sales 2 comments

Summary

JBO-27023: Failed to validate all rows in a transaction

Content

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!