ProcessDefinitionService

This class implements Web service to invoke ProcessDefinitionFacade methods.

Endpoint Metadata

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

The following methods are available on this endpoint:

findJBPMVariableByName

Finds JBPM Variable value by given name. It is assumed, that variable name is unique.

Input Parameters

name type description
name string variable name

Return Value

type description
string variable value

getInProgressProcessInstancesCount

Find and return count of processDefinitions which are in progress.

Return Value

type description
integer all in progress process instances

Faults

name description
ProcessDefinitionWebServiceFault in case of any errors

getProcessTemplateByPk

Returns the ProcessTemplate entity specified by the primary parameter. ProcessTemplate contains Process Archive, based onit ProcessDefinition's are created.

Input Parameters

name type description
processTemplatePk integer The primary key of the process template to retrieve.

Return Value

type description
processTemplate A ProcessTemplate entity.

Faults

name description
ProcessDefinitionWebServiceFault If an error occurs during search.