Code Monkey home page Code Monkey logo

Comments (9)

jamessimone avatar jamessimone commented on July 30, 2024

Do you have the full stack trace for the error message? Do you have any recursion in your flows or triggers?

from salesforce-round-robin.

gpuviani avatar gpuviani commented on July 30, 2024

Sadly I only have the error message provided in the flow:

Error element Assign_Via_Round_Robin (FlowActionCall).
An Apex error occurred: System.LimitException: Maximum stack depth reached: 1001 --- An Apex error occurred: System.LimitException: Maximum stack depth reached: 1001 --- An Apex error occurred: System.LimitException: Maximum stack depth reached: 1001 --- An Apex error occurred: System.LimitException: Maximum stack depth reached: 1001 --- An Apex error occurred: System.LimitException: Maximum stack depth reached: 1001

from salesforce-round-robin.

jamessimone avatar jamessimone commented on July 30, 2024

OK, I will take a look and get back to you!

from salesforce-round-robin.

gpuviani avatar gpuviani commented on July 30, 2024

from salesforce-round-robin.

jamessimone avatar jamessimone commented on July 30, 2024

@gpuviani I haven't been able to reproduce this issue locally - however, I am creating a new package version #9 which may help with some of these issues. I think a screenshot of your Flow input setup, and a log if you are able to attach that (the log that fails) would be helpful.

My gut is saying that you have a recursive process which is updating the leads you're inserting more times than is necessary. With the package version I am about to release, I've included some updates which may help with that, but if that doesn't address the issue we'll have to troubleshoot more with what I've requested above.

from salesforce-round-robin.

gpuviani avatar gpuviani commented on July 30, 2024

Hi James, thanks for your support on this. Sadly I am now also getting an error : Unable to lock row on the round robin records themselves. Would setting up some time help? Thanks again.

from salesforce-round-robin.

jamessimone avatar jamessimone commented on July 30, 2024

@gpuviani I'm afraid I don't have the bandwidth at the moment to do something like a call. The next two months will be quite busy for me. I am committed to helping asynchronously on this issue.

This morning, I was testing an update to seventy five opportunities where the Flow Action to round robin was being called without issue, but I'll try to take another look when I have the chance to see if I can reproduce the issues you've been having.

from salesforce-round-robin.

jamessimone avatar jamessimone commented on July 30, 2024

@gpuviani I've pushed out another release that may help - please try installed v0.1.2 and let me know!

from salesforce-round-robin.

jamessimone avatar jamessimone commented on July 30, 2024

Closing, haven't been able to repro

from salesforce-round-robin.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.