-
Notifications
You must be signed in to change notification settings - Fork 235
-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of opportunity contact role #59
Comments
That is because Salesforce doesn't support having triggers on that object. You might want to try and do it as a scheduled job rather than realtime. I haven't tried it, but that would be my next step. |
The same error happens when I set to scheduled mode. I appreciate any suggestions you can provide! |
Oops! I missed that, sorry. |
Do I need to press "Deploy" before I can schedule the RollupJob class? |
Schedule mode still needs the triggers unfortunately, as it records changes to the child records the scheduled job processes. |
@aheber Thanks btw for picking this one up! :-) |
I'm sorry, currently schedule mode still requires a trigger to log the records changed for the job to pick up. I did ponder long and hard about this design decision, and in the end could not find a way to do it without. The Replication API came close, but does not give events on deletion of records. Sorry, i will keep an eye out in the future for new features of the platform and/or ideas to remove this requirement. |
Really appreciate the effort! Thanks Andrew,
|
Just want to show my support for a solution here. I voted for https://success.salesforce.com/ideaview?id=08730000000BrdvAAC years ago, and I have tried to vote for it again several times since! I seem to butt heads with this a couple times a year...guess it's time to migrate to a custom object. |
Just upvoted! 👍 |
Are we able to do a realtime Rollup of opportunity contact role now? |
That object doesn't support triggers :(
…On Jul 11, 2017 4:31 PM, "Tena Wolver" ***@***.***> wrote:
Are we able to Rollup of opportunity contact role now?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APXKqnx6Kcjgy3jiaOJQt2FEpvmRorOzks5sNAXCgaJpZM4CY-e->
.
|
Thanks for confirming that. |
Hello,
I am trying to create a rollup on the opportunity to count the number of contact roles a certain type that have been assigned. I get an error when I deploy the trigger stating that the object does not support triggers. I get the same error if I attempt to use scheduled mode.
I understand that opportunity contact roles do not support triggers, but shouldn't scheduled mode still be possible?
Many thanks for your wonderful tool.
Jonathon
The text was updated successfully, but these errors were encountered: