How can we unlock a record for an object using the Lockable attribute? I wasn't able to find an example or a reference in the documentation.
From Chapter 8:
To remove locks on records, you can use a Trigger or the API to set the Is Locked checkbox to false. A new Trigger type called Unlock is created when the Lockable attribute is set.
Thanks.
There was a new trigger created. It sets the ckeckbox to false as expected. (The trigger was named "Set Lock" instead of "Unlock".)
In case it could help others, I wrote this small piece of code that I embedded in a Script component in order to easily unlock a specific record.
Invoice ID