TaskApi (Task APIs)

getTaskId

Description...

TaskApi.getTaskId()

Parameters

None

Returns

Task ID

cancelTasks

Description...

TaskApi.cancelTasks(List<Object> ids)

Parameters

ids

Returns

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

cancelTask

Description...

TaskApi.cancelTask(String taskId)

Parameters

taskId

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(String requestId)

Parameters

requestId

Returns

None. Cancels the request for the provided Request ID

enqueueSvcRequest

Description...

TaskApi.enqueueSvcRequest(String queueId, String svcUrl, String svcToken,String serviceName, String callbackFunctionName, String methodName, Map<String, Object> serviceRequestBody, 
      Map<String, Object> context)

Parameters

queueId
svcUrl
svcToken
serviceName
callbackFunctionName
methodName
serviceRequestBody
context

Returns

// Some code

Last updated