All Products
Search
Document Center

:StatefulAsyncInvocation

Last Updated:Jun 11, 2026

Parameter

Type

Description

Example

object

The struct of the asynchronous task.

functionName

string

The name of the function to which the asynchronous task belongs.

functionName

serviceName

string

The name of the service that contains the function to which the asynchronous task belongs.

serviceName

qualifier

string

The version or alias of the service that contains the function to which the asynchronous task belongs.

LATEST

invocationId

string

The ID of the asynchronous task.

demo-id

status

string

The state of the asynchronous task.

  • Enqueued: The asynchronous task is enqueued and is waiting to be executed.

  • Succeeded: The invocation succeeded.

  • Failed: The invocation failed.

  • Running: The invocation is being executed.

  • Stopped: The invocation was terminated.

  • Stopping: The invocation is being terminated.

  • Invalid: The invocation is invalid and not executed due to specific reasons. For example, the function is deleted.

  • Expired: The maximum validity period of messages is specified for the asynchronous invocation. The invocation is discarded and not executed because the specified maximum validity period of messages elapsed.

  • Retrying: The asynchronous task is being retried due to an execution error.

Running

startedTime

integer

The start time of the asynchronous task.

1633449590000

endTime

integer

The end time of the asynchronous task.

1633449599000

destinationStatus

string

The state of the asynchronous task.

Succeeded

invocationErrorMessage

string

The error message for the failed asynchronous task.

UnhandledInvocationError

invocationPayload

string

The event triggered by the asynchronous task.

"body"

alreadyRetriedTimes

integer

The number of retries if the asynchronous task fails.

3

requestId

string

The request ID of the asynchronous task.

ABA740D4-********-882707EADC37

instanceId

string

The ID of the instance that is used to run the asynchronous task.

D4-*******9FD1-882707E

events

array

The list of events that trigger the asynchronous task.

StatefulAsyncInvocationEvent

The event that triggers the asynchronous task.

durationMs

integer

The execution duration of the asynchronous task.

100

returnPayload

string

The result returned by the asynchronous task. The size limit is 1 MB.
This field is in public beta. If you want to use this field, contact us.

my-result