TaskApi (Task APIs)

getTaskId

Description...

TaskApi.getTaskId()

Parameters

None

Returns

Task ID

cancelTasks

Description...

TaskApi.cancelTasks(ids)

Parameters

ids: list of IDs

Returns

Cancels the tasks and returns status in the form of an Object

cancelTask

Description...

TaskApi.cancelTask(taskId)

Parameters

taskId: string

Returns

Cancels the task

isMyExecutionCancelled

Description...

TaskApi.isMyExecutionCancelled()

Parameters

None

Returns

Boolean

isMyFlowCancelled

Description...

TaskApi.isMyFlowCancelled()

Parameters

None

Returns

Boolean

isMyTaskCancelled

Description...

TaskApi.isMyTaskCancelled()

Parameters

None

Returns

Boolean

isMyTaskFailed

Description...

TaskApi.isMyTaskFailed()

Parameters

None

Returns

Boolean

cancelRemoteRequest

Description...

TaskApi.cancelRemoteRequest(requestId)

Parameters

requestId: string

Returns

None. Cancels the request for the provided Request ID

enqueueSvcRequest

Description...

TaskApi.enqueueSvcRequest(queueId, svcUrl, svcToken, serviceName, callbackFunctionName, methodName, serviceRequestBody, 
      context)

Parameters

queueId: string
svcUrl: string
svcToken: string
serviceName: string
callbackFunctionName: string
methodName: string
serviceRequestBody: dictionary
context: dictionary

Returns

// Some code

Last updated