Post-deployment

Overview

Post-deployment scripts are custom SQL steps that run after AnalyticsCreator has completed deployment work. Use this script type for final adjustments that belong after deployment, such as applying environment-specific settings, finalizing supporting objects, or running cleanup logic once deployed objects are in place.

Function

Use Post-deployment when the SQL logic depends on deployment results and should run as a follow-up step rather than as preparation. Scripts in this group are ordered by sequence number and then by script name in the navigation tree.

Post-deployment uses the shared Define script page. The editor stores the script type, script name, description, sequence number, inactive flag, and SQL text. The package assignment grid is hidden for this type because package assignment is only shown for workflow script types.

Access

The Scripts branch contains a Post-deployment scripts node. Its context menu provides List post-deployment scripts and Add post-deployment script, both preselecting the Post-deployment script type.

How to access

Navigation tree

Scripts -> Post-deployment scripts -> List post-deployment scripts, or Add post-deployment script

Toolbar

Scripts

Diagram

Not direct. Use the Scripts list or navigation tree.

Visual element

Define script -> Script type -> Post-deployment

Screen overview

IDPropertyDescription
1Script typeSelects the SQL Script type. For this page the selected type is Post-deployment.
2NameDefines the script name. Save validation requires a non-empty value.
3DescriptionStores the optional script description shown in the script list.
4Sequence numberControls ordering inside the Post-deployment script group. A non-numeric value is rejected during validation.
5InactiveStores whether the script is disabled without deleting it.
6OriginalShows the editable SQL script text.
7ParsedShows the macro-parsed preview of the SQL script in a read-only field.
8ScriptContains the SQL body. Save validation requires a non-empty script.
9CancelReturns to the previous page without saving changes.
10SaveValidates the script fields, stores the SQL Script, and refreshes the navigation tree.

List behavior

List post-deployment scripts opens the script list already scoped to Post-deployment scripts. The list can filter by script name, shows Name, Type, and Description, and opens the Define script page when a row is double-clicked.

The New button opens a new script with Post-deployment already selected. Delete removes the selected script after confirmation. The up and down buttons swap sequence numbers only between scripts of the same script type.

Related topics