TaskInfoService

Provides API for creating TaskInfo instances with additional information about BPM task instance.

Endpoint Metadata

  • Namespace: http://opencase.extend.com/workflowservice/webservices/taskinfo
  • Endpoint Name: TaskInfoWebService
  • Endpoint Address: http(s)://{VMS URL}/WorkflowService/webservices/taskinfo-service

The following methods are available on this endpoint:

acceptTaskByBundlePk

Accept Task associated with given bundle.

Input Parameters

name type description
bundlePk int Pk of bundle that associated with Task.

Faults

name description
TaskInfoWebServiceFault thrown when error encountered.

acceptTaskByTaskId

Accept Task associated with given bundle.

Input Parameters

name type description
taskId integer id of Task.

Faults

name description
TaskInfoWebServiceFault thrown when error encountered.

createTaskInfo

Creates TaskInfo instance with passed parameters.

Input Parameters

name type description
taskInfo taskInfo - TaskInfo instance that should be created

Return Value

type description
taskInfo created TaskInfo instance

Faults

name description
TaskInfoWebServiceFault if creation fails

rejectTaskByBundlePk

Reject Task associated with given bundle.

Input Parameters

name type description
bundlePk int Pk of bundle that associated with Task.

Faults

name description
TaskInfoWebServiceFault thrown when error encountered.

rejectTaskByTaskId

Reject Task associated with given bundle.

Input Parameters

name type description
taskId integer id of Task.

Faults

name description
TaskInfoWebServiceFault thrown when error encountered.

taskStatusByBundlePk

Return TaskInfoStatus for task that associated with given bundlePk and assigned to given user.

Input Parameters

name type description
username string Username of user.
bundlePk int Pk of bundle that can associated with Task.

Return Value

type description
taskInfoStatus Status of task that associated with given bundlePk and assigned to given user. Or null if task not exists.

Faults

name description
TaskInfoWebServiceFault thrown when error encountered.

taskStatusByTaskId

Return TaskInfoStatus for task that associated with given taskId and assigned to given user.

Input Parameters

name type description
username string Username of user.
taskId integer Id of Task.
isAdmin boolean true if user has admin role(allowed to accept/reject all tasks) false otherwise

Return Value

type description
taskInfoStatus Status of task that associated with given taskId and assigned to given user (or user has super_admin role). Null if task not exists or if it is not a Producertask.

Faults

name description
TaskInfoWebServiceFault thrown when error encountered.