Setting Up Composer Service User
Individual Composer merges can be run as a Service User by specifying the ServiceUser parameter. To use this feature, you must setup the Service User in the Salesforce Org. The Composer Service User is the Salesforce user record that conducts the merge process. If the Composer Service User is set, it replaces the running user when merging data with Composer.
Admins can avoid having to assign the necessary Composer and object-related profile permissions to all users that launch Composer. Instead of assigning each user the necessary permissions to complete Composer merges, an admin can simply assign one user the necessary permissions and set that user as the Composer Service User. Users without all necessary profile permissions can still launch and initiate Composer, although the merge is completed as the Composer Service User, provided that they have a Composer User License assigned to their User Profile.
The user that sets the Composer Service User must have a profile with equivalent permissions to a System Administrator, and must have a Composer User License.
Important Considerations
- The Service User does not support SessionID buttons.
- Audit fields on an object in Salesforce are set to be the running user where Salesforce allows it, so for most objects the Created By and Owned By fields will be set to be the running user, even if the merge was done as the Service User. Salesforce Files are one of the object types where Salesforce does not allow resetting those fields, so the Created By field will always show Service User.
Prerequisites
- A Salesforce User to act as the Composer Service User:
Create a new user in your org to function as the user for Service User merges. It may be helpful to give them roles-specific names. It is possible, but not recommended, to use an existing user as the Service User.
- The Composer Service User must have both an active Salesforce License and a Composer User License.
- The Composer Service User must have a high level of access permissions (such as a System Administrator) to access all the data required for merge.