Priority Development Features

Creating and Managing Triggers & Steps

Form triggers and procedure steps can be created and deleted directly from VS Code, without opening the Form or Procedure Generators in Priority.

Creating a Form Trigger

  1. In the Environments Explorer, expand Environment > FORMS > [Form Name].

  2. Right-click the form folder.

  3. Select Create Form Trigger.

  4. Enter the trigger name according to Priority naming conventions.

  5. Click Confirm.

The trigger is created in Priority and opens immediately in VS Code.

Deleting a Form Trigger

  1. Right-click the trigger in the Environments Explorer.

  2. Select Delete Form Trigger.

  3. Confirm deletion.

Creating a Procedure Step

  1. In the Environments Explorer, expand Environment > PROCS > [Procedure Name].

  2. Right-click the procedure folder.

  3. Select Create Procedure Step….

  4. Configure the step number and step type.

  5. Confirm.

The step is added to the procedure in Priority. For SQLI steps, the file opens in VS Code immediately.

Deleting a Procedure Step

  1. Right-click the step in the Environments Explorer.

  2. Select Delete Procedure Step.

  3. Confirm deletion.

Form and Procedure Preparation

Form and procedure preparation can be run directly from VS Code.

  1. Open any form file (.priform or .pq) or procedure file (.pripar or .pq).

  2. Click the Preparation icon in the editor toolbar.

VS Code sends a preparation request to the active environment. A progress notification appears during execution.

The operation validates the form or procedure definition and rebuilds its metadata in Priority. Results appear in the output console.