Documentation

UpdateHandle
in package

FinalYes

UpdateHandle is a handle to an update workflow execution request that can be used to get the status of that update request.

Table of Contents

Properties

$client  : ServiceClientInterface
$clientOptions  : ClientOptions
$converter  : DataConverterInterface
$execution  : WorkflowExecution
$result  : ValuesInterface|WorkflowUpdateException|null
$resultType  : mixed
$updateId  : string
$updateName  : string
$workflowType  : string|null

Methods

getEncodedValues()  : ValuesInterface
Fetch and return the encoded result of this update request.
getExecution()  : WorkflowExecution
Gets the workflow execution this update request was sent to.
getId()  : string
Gets the unique ID of this update.
getResult()  : mixed
Fetch and decode the result of this update request.
hasResult()  : bool
Check there is a cached accepted result or failure for this update request.
fetchResult()  : void

Properties

$workflowType read-only

private string|null $workflowType

Methods

getId()

Gets the unique ID of this update.

public getId() : string
Return values
string

hasResult()

Check there is a cached accepted result or failure for this update request.

public hasResult() : bool
Return values
bool

        
On this page

Search results