Updated on 2025-08-15 GMT+08:00

Managing Triggers in Applications

Triggers intuitively display service processes to users. Once set up, triggers automate operations without the need for manual execution by users. In the Huawei Cloud Astro Zero environment configuration page, you can manage all triggers under the current account, including viewing, enabling, and disabling triggers.

Constraints

This menu is displayed only in the sandbox environment and production environment. Operations in the sandbox environment are identical to those in the production environment. This section uses the production environment as an example.

Managing Triggers

  1. On the Huawei Cloud Astro Zero console, click Manage Runtime Environment of the purchased commercial instance to access the production environment.
  2. Choose Maintenance from the main menu.
  3. In the navigation pane, choose Global Elements > Trigger.
  4. On the trigger management page, you can view all triggers created by the account in the current environment.
  5. Click next to the table header to sort triggers. In the Operation column, you can disable, enable, or delete a trigger.

    Table 1 Description of the Trigger Management tab page

    Parameter

    Description

    Name

    Name of the trigger, that is, the name configured when the trigger is created.

    Labels

    Trigger label, that is, the label configured when the trigger is created.

    Object

    Object associated with the trigger.

    Enable

    Whether to enable the trigger.

    Trigger Type

    Trigger startup type.
    • Only when a record is inserted: When the system creates a record.
    • Only when a record is updated: When the system updates a record.
    • When a record is inserted or updated: When the system creates or updates a record.
    • When called by another trigger: When called by another trigger.
    • When a platform event is received: triggered by an event.

    Last Modified By

    Name of the user who modifies the trigger last time.

    Last Modified At

    Time when the trigger was last modified.

    Operation

    • Click to enable the trigger.
    • Click to disable the trigger.
    • Click to delete the trigger. If this button is dimmed, the trigger cannot be deleted, and the preset trigger cannot be deleted.

  6. On the Trigger Management tab page, click a trigger name to view its details.
  7. Click next to a trigger of a specific version to enable the trigger. Click to disable the trigger.