camundamodel

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count struct {
	Count int64 `json:"count"`
}

/engine-rest/process-instance/count?tenantIdIn="+url.QueryEscape(userId) /engine-rest/incident/count?processDefinitionId="+url.QueryEscape(definitionId)

type Deployment

type Deployment struct {
	Id             string      `json:"id"`
	Name           string      `json:"name"`
	Source         string      `json:"source"`
	DeploymentTime interface{} `json:"deploymentTime"`
	TenantId       string      `json:"tenantId"`
}

/engine-rest/deployment/"+url.QueryEscape(id) /engine-rest/deployment/"+url.QueryEscape(deploymentId) /engine-rest/deployment/" + id + "?cascade=true

func (*Deployment) GetDeploymentId

func (this *Deployment) GetDeploymentId() (id string)

func (*Deployment) SetDeploymentId

func (this *Deployment) SetDeploymentId(id string)

type Deployments

type Deployments = []Deployment

/engine-rest/deployment?tenantIdIn="+url.QueryEscape(userId)+"&"+params.Encode()

type ExtendedDeployment

type ExtendedDeployment struct {
	Deployment
	Diagram      string `json:"diagram"`
	DefinitionId string `json:"definition_id"`
	Error        string `json:"error"`
}

type HistoricProcessInstance

type HistoricProcessInstance struct {
	Id                       string  `json:"id"`
	SuperProcessInstanceId   string  `json:"superProcessInstanceId"`
	SuperCaseInstanceId      string  `json:"superCaseInstanceId"`
	CaseInstanceId           string  `json:"caseInstanceId"`
	ProcessDefinitionName    string  `json:"processDefinitionName"`
	ProcessDefinitionKey     string  `json:"processDefinitionKey"`
	ProcessDefinitionVersion float64 `json:"processDefinitionVersion"`
	ProcessDefinitionId      string  `json:"processDefinitionId"`
	BusinessKey              string  `json:"businessKey"`
	StartTime                string  `json:"startTime"`
	EndTime                  string  `json:"endTime"`
	DurationInMillis         float64 `json:"durationInMillis"`
	StartUserId              string  `json:"startUserId"`
	StartActivityId          string  `json:"startActivityId"`
	DeleteReason             string  `json:"deleteReason"`
	TenantId                 string  `json:"tenantId"`
	State                    string  `json:"state"`
}

/engine-rest/history/process-instance/"+url.QueryEscape(id)

type HistoricProcessInstances

type HistoricProcessInstances = []HistoricProcessInstance

/engine-rest/history/process-instance?processDefinitionId="+url.QueryEscape(id) /engine-rest/history/process-instance?processDefinitionId="+url.QueryEscape(id)+"&finished=true /engine-rest/history/process-instance?tenantIdIn="+url.QueryEscape(userId) /engine-rest/history/process-instance?tenantIdIn="+url.QueryEscape(userId)+"&finished=true

type HistoricProcessInstancesWithTotal

type HistoricProcessInstancesWithTotal = struct {
	Total int64                    `json:"total"`
	Data  HistoricProcessInstances `json:"data"`
}

type Incident

type Incident struct {
	Id                  string    `json:"id" bson:"id"`
	MsgVersion          int64     `json:"msg_version,omitempty" bson:"msg_version,omitempty"` //from version 3 onward will be set in KafkaIncidentsCommand and be copied to this field
	ExternalTaskId      string    `json:"external_task_id" bson:"external_task_id"`
	ProcessInstanceId   string    `json:"process_instance_id" bson:"process_instance_id"`
	ProcessDefinitionId string    `json:"process_definition_id" bson:"process_definition_id"`
	WorkerId            string    `json:"worker_id" bson:"worker_id"`
	ErrorMessage        string    `json:"error_message" bson:"error_message"`
	Time                time.Time `json:"time" bson:"time"`
	TenantId            string    `json:"tenant_id" bson:"tenant_id"`
	DeploymentName      string    `json:"deployment_name" bson:"deployment_name"`
}

type ProcessDefinition

type ProcessDefinition struct {
	Id                string `json:"id,omitempty"`
	Key               string `json:"key,omitempty"`
	Category          string `json:"category,omitempty"`
	Description       string `json:"description,omitempty"`
	Name              string `json:"name,omitempty"`
	Version           int    `json:"Version,omitempty"`
	Resource          string `json:"resource,omitempty"`
	DeploymentId      string `json:"deploymentId,omitempty"`
	Diagram           string `json:"diagram,omitempty"`
	Suspended         bool   `json:"suspended,omitempty"`
	TenantId          string `json:"tenantId,omitempty"`
	VersionTag        string `json:"versionTag,omitempty"`
	HistoryTimeToLive int    `json:"historyTimeToLive,omitempty"`
}

/engine-rest/process-definition/"+url.QueryEscape(id)

func (*ProcessDefinition) GetDeploymentId

func (this *ProcessDefinition) GetDeploymentId() (id string)

func (*ProcessDefinition) SetDeploymentId

func (this *ProcessDefinition) SetDeploymentId(id string)

type ProcessDefinitions

type ProcessDefinitions = []ProcessDefinition

/engine-rest/process-definition?deploymentId="+url.QueryEscape(id)

type ProcessInstance

type ProcessInstance struct {
	Id             string `json:"id,omitempty"`
	DefinitionId   string `json:"definitionId,omitempty"`
	BusinessKey    string `json:"businessKey,omitempty"`
	CaseInstanceId string `json:"caseInstanceId,omitempty"`
	Ended          bool   `json:"ended,omitempty"`
	Suspended      bool   `json:"suspended,omitempty"`
	TenantId       string `json:"tenantId,omitempty"`
}

/engine-rest/process-definition/"+url.QueryEscape(processDefinitionId)+"/start /engine-rest/process-instance/"+url.QueryEscape(id) /engine-rest/process-instance/"+url.QueryEscape(id)

type ProcessInstances

type ProcessInstances = []ProcessInstance

/engine-rest/process-instance?tenantIdIn="+url.QueryEscape(userId)

type Variable

type Variable struct {
	Value     interface{} `json:"value"`
	Type      string      `json:"type"`
	ValueInfo interface{} `json:"valueInfo"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL