I have a mobile app that is using the REST API to create new accounts in my Salesforce org. I am using territory management to assign my accounts out to my users. It looks like the assignment rules are not running when the account is created or updated via the REST API.
I have tried setting the Assignment Rule Header via the mobile sdk but this doesn't appear to be possible.
So I need to be able to trigger the assignment rules. Either whenever an account address is updated by via the REST API or on a schedule. I don't want to have to manually re-run the assignment rules.
I have considered using a trigger or Apex Class to use Database.DMLOptions to set the assignment rule header but it sounds like that only works for leads and cases and not accounts. Running Case Assignment Rules From Apex
What other options do I have?