Add functionality to allow Job Queues to run under a specific Business Central user account, rather than the account of the user who starts or restarts the Job Queue.
This could be implemented as a setup-based feature, potentially on the Company Information table, with the following options:
- Enable Job Queue Service Account – Enable/Disable.
- Job Queue Service Account – A Business Central user account that will be used to start and restart all Job Queues within the company.
When the feature is enabled, the configured Job Queue Service Account should be used whenever a Job Queue is started or restarted, regardless of which user performs the action.
This functionality would be particularly useful for system audits and data traceability. Currently, when a Job Queue creates or modifies records, system audit fields such as System Created By and System Modified By may show the user who started the Job Queue. This can make it difficult to determine whether a record was modified directly by the user or automatically by a Job Queue.
Using a dedicated Job Queue Service Account would provide clear separation between user activities and automated Job Queue activities, making audit trails more transparent and easier to analyse.
