Skip to main content

Interface: IUpdateResponse

coresdk.workflow_commands.IUpdateResponse

Properties of an UpdateResponse.

Hierarchy​

Properties​

accepted​

• Optional accepted: null | $Properties

Must be sent if the update's validator has passed (or lang was not asked to run it, and thus should be considered already-accepted, allowing lang to always send the same sequence on replay).

Inherited from​

$Properties.accepted


completed​

• Optional completed: null | $Properties

Must be sent once the update handler completes successfully.

Inherited from​

$Properties.completed


protocolInstanceId​

• Optional protocolInstanceId: null | string

The protocol message instance ID

Inherited from​

$Properties.protocolInstanceId


rejected​

• Optional rejected: null | $Properties

Must be sent if the update's validator does not pass, or after acceptance if the update handler fails.

Inherited from​

$Properties.rejected


response​

• Optional response: "completed" | "accepted" | "rejected"

UpdateResponse response

Inherited from​

$Properties.response