Running Asynchronous Jobs in Delegated System Mode
To run a job in Delegated System Mode, you need to complete the following setups:
Configure Records in Foundations Configuration Items
Your administrator needs to set up the necessary records in Foundations Configuration Items. To do so:
- From Setup, navigate to Custom Metadata Types | Foundations Configuration Item.
- [Optional] In the Label field, change the name for the cloned record.
- Leave all fields at their default copied values.
- Select the Enable checkbox.
- Click Save.
-
Click Manage records.
Select the specific record that will be used to run your asynchronous job in Delegated System Mode.
- Select the Enabled field and click Save.
For more information about the Foundations Configuration Items, see Foundations Configuration Item Custom Metadata Type Fields.
Configure the Delegated System User
In the Feature Console, you must enable the Configure the Delegated System User feature. This feature lets you specify the user context for your platform event Apex trigger.
For more information, see Configuring the Delegated System User.
SECTIONS