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:
In the left-side navigation pane, click Services & Functions.
On the Services page, click the name of the service that you want to manage.
On the page that appears, click the name of the function that you want to manage.
On the details page of the function, click the Asynchronous Configurations tab.
In the Asynchronous Policy section, click Modify.
In the Modify the Policy for Asynchronous Mode panel, set the Task Mode parameter to Enable and click OK.