jamessimone / apex-rollup

Fast, configurable, elastically scaling custom rollup solution. Apex Invocable action, one-liner Apex trigger/CMDT-driven logic, and scheduled Apex-ready.
MIT License
212 stars 30 forks source link

convert-dlrs-rules.apex fails when run with the namespaced version install #474

Closed MarcDBehr closed 1 year ago

MarcDBehr commented 1 year ago

I installed the namespaced version of apex-rollup (04t6g000008So66AAC) and then tried to run the convert-dlrs-rules.apex script via anonymous apex and got an error:

Starting Execute Anonymous Apex

Error: Line: 4, Column: 14
Error: Invalid type: RollupControl__mdt

I assume that the script (and probably deactivate-converted-dlrs-rules.apex) needs to be modified to call the namespaced references. It would be helpful if a namespaced version of the scripts be provided for users that are not familiar with how to do so.

jamessimone commented 1 year ago

@MarcDBehr that's a great call, I can add a namespace-compatible script in the next release

jamessimone commented 1 year ago

@MarcDBehr there's a link now to a working version of those files. Including that as a resource for you in the event that the next release is held up.