Athento provides an operation that allows you to lock fields in a form during certain lifecycle states. This operation locks the fields so that they are read-only in forms. The name of the operation is Lock document metadata.
To install this operation, go to the operations marketplace available in the "Operations" tab of each space and click the "Install" button for the operation.
After installation, select "No phase" (since it will be installed during a lifecycle state) and edit the parameters to configure the fields you want to lock in the form.
Enter the internal name of the field according to the action you want to apply in the lifecycle state:
- "Do not lock": fields that will not be locked.
- "Lock only": list of fields that will be locked. If "Lock only" is empty, all fields in the form will be locked.
If you need to specify more than one field, separate them with a comma (,). For example: metadata.name1, metadata.name2
Save the changes and configure the operation in the corresponding lifecycle state.