Skip to main content

Troubleshooting Auto Renewal Issues

Learn how to identify and troubleshoot Auto Renewal errors using the AutoRenewalStatus object and manually trigger renewal processes.

N
Written by Nue User
Updated over 4 months ago

How do I check for Auto Renewal errors?

Auto Renewal errors are tracked in the Ruby__AutoRenewalStatus__c object. To view recent errors:

  1. Run the following SOQL query in your Salesforce Developer Console or Query Editor:

sql

SELECT Id, CreatedDate, Ruby__JobId__c, Ruby__Subscription__c,         Ruby__Status__c, Ruby__StatusMessage__c  FROM Ruby__AutoRenewalStatus__c  ORDER BY CreatedDate DESC
  1. Review the results, paying particular attention to:

    • Ruby__Status__c - Shows whether the renewal succeeded or failed

    • Ruby__StatusMessage__c - Contains detailed error messages explaining what went wrong

    • Ruby__Subscription__c - Identifies which subscription encountered the issue

How do I manually trigger Auto Renewal?

If you need to manually run the Auto Renewal process (for testing or troubleshooting), execute the following code in the Salesforce Developer Console:

apex

new Ruby.AutoRenewScheduleJob().execute(null);

Note: This will process all subscriptions eligible for auto renewal at the time of execution.


For additional assistance, please contact your Salesforce administrator or Nue Customer Support.

Did this answer your question?