setResult()

Overview

public void function setResult(
      required string taskId
    , required any    result
)

Sets the result of a task

Arguments

NameTypeRequiredDescription
taskIdstringYesID of the task
resultanyYesThe task result (will be serialized when saving against DB record)