AnalyticsCreator Docs Preview

Script

On this page
  1. Behavior and conditions
  2. Related guidance
  3. Controls
  4. XAML preview
  5. Window layout
  6. Details
  7. Execution
  8. Packages
  9. Other controls
  10. Scope

Edit a repository script and choose when it can run. For Pre-workflow and Post-workflow scripts, the selected packages define where it is used.

All windows and pages · Common controls and reading this reference

Edit the saved SQL in Original, use Parsed to inspect macro expansion, then review Execution and Packages before saving.

Behavior and conditions

Workflow package generation selects active, assigned Pre-workflow and Post-workflow scripts and orders them by sequence and name.

Controls

Find a control

General

Details

Execution

Packages

Packages / DataGrid

The entries include tabs, grid columns, fields and context-menu actions. Repeated captions can belong to different grids or menus. Selection-dependent and initially hidden controls are included; inclusion is not a promise that every control is visible at once. Fixed choices below are declared choices, not a platform support matrix.

XAML preview

WPF renders the compiled XAML view with the application styles and empty fields. The image variant follows the documentation color theme.

Window layout

XAML illustration: Window layout XAML illustration: Window layout

General

Cancel

Leaves this dialog or page through its close/navigation action. It does not undo actions already executed separately; follow any save prompt.

Location: General. Control: Button.

Save

Requires a nonblank name and SQL body. A supplied sequence number must parse as an integer. Saves the original SQL and package assignments without executing them.

Location: General. Control: Button.

Name

Name used to identify this definition.

Location: General. Control: Text field.

Script type

Script category from repository script types. The category determines where the script belongs in generation or execution and changes the available target fields.

Location: General. Control: Dropdown.

Panel divider

Drag to resize the adjacent panels. This changes presentation, not stored data values.

Location: General. Control: Panel divider.

Original

Show the original script with macro expressions unchanged.

Location: General. Control: RadioButton.

Parsed

Expands macros in the current SQL and shows the parsed text without executing it.

Location: General. Control: RadioButton.

Script body executed at the selected script stage

Script body executed at the selected script stage.

Location: General. Control: SQL editor.

Details

Location: General. Control: Expander.

Execution

Location: General. Control: Expander.

Packages

Location: General. Control: Expander.

Details

XAML illustration: Details XAML illustration: Details

Details

Description

Descriptive documentation for this object or field; it is not an executable expression.

Location: Details. Control: Text field.

Execution

XAML illustration: Execution XAML illustration: Execution

Execution

Sequence number

Integer execution order. Leaving it blank saves 1. Workflow generation sorts by sequence and then script name.

Location: Execution. Control: Text field.

Inactive

Exclude this script from execution while keeping its definition.

Location: Execution. Control: Checkbox or status indicator.

Packages

XAML illustration: Packages XAML illustration: Packages

Packages

Rows

Lists package assignments for Pre-workflow and Post-workflow scripts. A checked Run value associates the script with the package.

Location: Packages. Control: Table/grid.

Packages / DataGrid

Package

Name of the assigned package.

Location: Packages / DataGrid. Control: Text column.

Declared read-only.

Run

Sets the association for this package. Clicking the column header inverts each row individually.

Location: Packages / DataGrid. Control: Checkbox/status column.

Other controls

General

Read-only preview of the script with macros expanded

Read-only preview of the script with macros expanded.

Location: General. Control: SQL editor.

Initially hidden; runtime selection can change visibility. Declared read-only.

Scope

Options can depend on the selected object, its saved values and the current repository.

Search documentation