2

How do I migrate setting Process Automation Settings -> Enable record locking and unlocking using ANT Migration Tool or ChangeSet or Metadata API?

We need to migrate checkbox checked in settings between several organizations.

2

Package.xml

<types>
    <members>OrgPreference</members>
    <name>Settings</name>
</types>

Look for lines

<preferences>
    <settingName>ApexApprovalLockUnlock</settingName>
    <settingValue>true</settingValue>
</preferences>
| improve this answer | |
0

As of API v48.0, ApexApprovalLockUnlock has been moved to ApexSettings.

Note: the setting currently doesn't display as an option in the documentation, but if you retrieve the ApexSettings from an org, the setting will show in Apex.settings-meta.xml as enableApexApprovalLockUnlock.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.