tencent cloud


Enabling/Disabling Triggers

Last updated: 2023-02-01 17:37:37

    You can disable a trigger to temporarily prevent a function from being triggered by an event occurring at the event source. This document describes how to do so in the console.

    Enabling or Disabling a Trigger in the Console

    1. Log in to the SCF console and select Functions on the left sidebar.
    2. At the top of the Functions page, select the region and namespace where the function resides as shown below:
    3. Click the function name to enter the function details page.
    4. Select Trigger management on the left to enter the trigger browsing and operation page. Click in the status of the target trigger to enable or disable it as shown below:

    Setting the Enables/Disabled Status of a Trigger During Creation

    When you create a trigger, you can set its enabled/disabled status, and the trigger will be in the set status once created.
    For example, when creating a timer trigger, if you want the trigger to take effect later as needed, you can deselect Enable now as shown below:

    After the trigger is created, you can enable it by switching its enabled/disabled status.


    At present, the enabled/disabled status switch is not supported for certain triggers, and the Enable button is not displayed for them in the console. When this is supported for them subsequently, the status and button will be displayed accordingly.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support