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

更新时间:
复制 MD 格式

After a custom function is triggered, you can verify its execution result by enabling task mode in the Function Compute console.

Procedure

Enable task mode for the target function in the Function Compute 2.0 console. In task mode, Function Compute records the execution status of each task at each stage and supports task status query, task queue status query, task deduplication, and active task termination.

  1. Log in 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 target service.

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

  5. Click the Asynchronous Configurations tab.

  6. In the Asynchronous Policy section, click Edit.

  7. In the Edit Asynchronous Policy panel, set Task Mode to Enable, then click OK.

References