I am searching for a way to automate a time-consuming task for an administrator on my team: subscribing numerous users to reports ("Schedule Future Runs", Salesforce Classic). The need to for each user to receive the report with him or herself as the running user.
I understand that the Classic Schedule Future Runs functionality is represented under the hood as
CronJobDetail records, which cannot be created programmatically. Is there any way to create these subscriptions in another fashion? The
Reports Apex namespace does not appear to offer this functionality.
I've also looked into creating Lightning report subscriptions using the Analytics API. However, that API appears to only create subscriptions for the logged-in user, and the API returns an error if a subscription already exists for the logged-in user. This makes it impossible to subscribe other users individually using the API.