To enable script revisions in the operations portal, navigate to "Settings".

In order to access and edit settings, you will need to be set up either as an "administrator" or a "superuser", or have the following roles: "settingEdit" and "settingView". Use the search bar to find the needed settings.

To enable regular script revisions, search for the "saveScriptRevisionToDataLake" setting.

Click the "more details" icon to view the setting.

Change the value field to "1" to turn the setting on. Then, click "Save" to apply the update.

If you would like to enable API script revisions, navigate back to the "Settings" screen.

This time, search for the "saveAPIScriptRevisionToDataLake" setting.

Click the "more details" icon to view the setting.

Change the value field to "1" to turn the setting on. Then, click "Save" to apply the update.

If you would like to enable revisions for user scripts, navigate back to "Settings" and search for the "saveUserScriptRevisionToDataLake" setting.

Click on the "more details" icon to view the setting.

Change the value field to "1" to turn the setting on. Then, click "Save" to apply the change.

If you would like to enable revisions for interceptors, navigate back to "Settings" and search for the “saveInterceptorRevisionToDataLake” setting.

Click on the "more details" icon to view the setting.

Change the value field to "1" to turn the setting on. Then, click "Save" to apply the change.

To view revisions after the settings have been enabled, select a script revision you would like to verify under the "Development" menu. For this example, we are checking regular "Scripts".

Use the search bar to find a script, and then click "more details".

Select the "Revisions" tab to view a log of revisions made to the script.

The screen will display the updates made in the script.

Click on the "more details" icon.

The details tab will display more information about the revision.

To restore, go back to the "Revisions" screen and click on the "Restore" icon to restore the current script to the selected revision.

The action redirects to the script's "Editor" screen, displaying the selected previous revision successfully restored.
