AnalyticsCreator Docs Preview

Use scripts and explicit object dependencies

On this page
  1. Distinct script locations
  2. Configure an extension

Scripts extend generated behavior at configured lifecycle points; script transformations represent explicit SQL operations in the data flow.

See the Script editor for Parsed and the package assignments.

Distinct script locations

Location Purpose
Import/Export Pre-SQL and Post-SQL Tasks around the load operation
Historization/Persisting procedure Generated or manual load implementation
Script transformation User-defined script with declared incoming/outgoing objects
ETL Scripts Repository extension script assigned a type, sequence and applicable packages
Object scripts Reusable script associated with a repository object type and parameters

Do not infer the execution connection from the word “script.” For example, the inspected SSIS Import/Export pre/post tasks use the DWH connection. Object-script sample generation queries repository metadata.

Configure an extension

  1. Select the script type and enter its statement/name.
  2. Set its sequence and inactive state.
  3. Where package selection is shown, select the intended packages.
  4. Save and inspect the relevant generated artifact or invocation path.
  5. Execute only after verifying connection, substitutions and side effects.

For script transformations, incoming objects are read/used; outgoing objects are changed. Declare both to support dependency ordering. Disable automatic dependency determination only when its inferred dependencies are inappropriate, and supply the intended dependencies manually.

Object scripts can have ordered parameters. The generated sample uses a repository object's key through a positional placeholder such as :1; this is not a general SQL Server parameter declaration. Review the invocation wizard before using a sample as an executable statement.

The Original/Parsed views show stored text versus macro-expanded text. A parsed preview is not proof of successful execution.

Search documentation