All Products
Search
Document Center

Cloud Config:How do I check whether a custom function is successfully executed?

Last Updated:Oct 08, 2024

This topic describes how to check whether a custom function is successfully executed after the custom function is triggered.

Procedure

You can enable the task mode for the function that you want to check in the Function Compute 2.0 console. In task mode, Function Compute records the execution status of each task in each stage, and provides features such as task status query, task queue status query, task deduplication, and active task termination. Perform the following steps to enable the task mode:

  1. Log on to the Function Compute console.

  2. In the left-side navigation pane, click Services & Functions.

  3. On the Services page, click the name of the service that you want to manage.

  4. On the page that appears, click the name of the function that you want to manage.

  5. On the details page of the function, click the Asynchronous Configurations tab.

  6. In the Asynchronous Policy section, click Modify.

  7. In the Modify the Policy for Asynchronous Mode panel, set the Task Mode parameter to Enable and click OK.

References