SFDO-Community/declarative-lookup-rollup-summaries

Scheduled Calculate Custom Settings

DanDonin opened this issue · 8 comments

With the new Scheduled Calculate it runs nightly at 2am. Is there a way to have this customizable to say run weekly or monthly or only weekdays at times other than 2am?

Currently the schedule is not customize-able. This would need to be an enhancement. To do this we'll need to create a schedule picking UI component. I'm willing to take this.

That would be amazing, I have little coding skills but if I can help in anyway I'd be willing to.

Awesome gents! 👍

You could also just store the cron string on the rollup record. I actually made a comment on a commit inline with where a code update would need to happen if that approach is taken.

Yeah thats the underlying approach for sure, i think though as we've learned with the criteria, usability wise we would need a Date/Schedule UI as most folks would struggle with cron string format. I had a brief look in the open source community for VF or even Lighting Schedule UI component and sadly didn't fine one. So we may have to develop one here, or at least a basic one for common use cases.

Ok i found a few JQuery based UI's for this, but in the end went for a simpler one, as i could tailor it to Apex Schedulers own limits. Looks like this currently...

dlrs schedule customisation

Added in v2.4.1.

how to schedule job for calculation mode as developer