Action on the Studio
In this section, you will find information on how to version, deprecate, or delete the version of an Action in the Studio.
Versioning an Action
To version an Action, follow these steps in your Studio using the STK CLI:
- Create the Action
- Publish it in your Studio.
Deprecating the version of an Action
You can deprecate a published version of an Action in a Studio. When deprecating the version, no flag will indicate that the Action version is deprecated upon publishing a new version.
Users utilizing the deprecated version will receive an email notification.
To deprecate a version, follow these rules:
1. You need a profile with content deprecation permission;
2. You need to belong to the Studio where the Action version will be deprecated. Exception: users with the role type Account Holder.
To deprecate the version, log in to the StackSpot Platform and follow these steps:
:::warning!
Deprecating the version of a piece of content does not have a rollback.
:::
Step 1. In the Studio, navigate to the Action section and select the Action you want to deprecate;
Step 2. Within the Action description, click the button indicating the current version;
Step 3. Find 'Version History' on the right-hand side. Click on the 'More Options' next to the version of the Action you want to deprecate and then click 'Deprecate Action';
Step 4: Fill out the following fields:
-
The reason for depreciation:
- Lack of maintenance;
- Security failure;
- Bugs;
- Other
-
The slug and version of the Action you want to remove.
To continue, click 'Deprecate Action'.
You've deprecated a version of the Action.
Deleting the version of an Action
If you publish only one version of an Action and delete it, the Action is also deleted. To delete an Action completely, delete all its published versions.
To delete, follow these rules:
-
The Action version must not be in use or associated with any Stack.
-
Require a profile with permission to remove content.
You cannot roll back after deleting the version of a piece of content. To retrieve the content, create the same version or generate a new one.
To delete the version of an Action in a Studio, log in to the StackSpot Platform and follow these steps:
Step 1: In your Studio, navigate to the 'Action' section and select the Action to delete;
Step 2. In the 'Description' of the Action, click the button indicating the current version;
Step 3. Find 'Version History' on the right-hand side of the screen. Click on the *'More Options' button next to the version of the Action to delete;
Step 4: Complete the following field:
- Slug and version of the Action to delete.
To continue, click the 'Delete Action'.
You have deleted a version of the Action in your Studio.