Documentation

ActivityContextInterface

Table of Contents

Methods

doNotCompleteOnReturn()  : void
Marks the activity as incomplete for asynchronous completion.
getCancellationDetails()  : ActivityCancellationDetails|null
Cancellation details of the current activity, if any.
getInfo()  : ActivityInfo
Returns information about current activity execution.
getInput()  : ValuesInterface
Returns activity execution input arguments.
getInstance()  : object
Get the currently running activity instance.
getLastHeartbeatDetails()  : mixed
Returns the payload passed into the last heartbeat.
hasHeartbeatDetails()  : bool
Check if the heartbeat's first argument has been passed.
heartbeat()  : void
Use to notify workflow that activity execution is alive.

Methods


        
On this page

Search results