Documentation
¶
Index ¶
- type CamundaDeployment
- type CamundaDeployments
- type Count
- type Deployment
- type DeploymentMessage
- type Diagram
- type ExtendedDeployment
- type HistoricProcessInstance
- type HistoricProcessInstances
- type HistoricProcessInstancesWithTotal
- type IncidentHandling
- type ProcessDefinition
- type ProcessDefinitions
- type ProcessInstance
- type ProcessInstances
- type Variable
- type VariableMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CamundaDeployment ¶ added in v1.0.3
type CamundaDeployment 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 (*CamundaDeployment) GetDeploymentId ¶ added in v1.0.3
func (this *CamundaDeployment) GetDeploymentId() (id string)
func (*CamundaDeployment) SetDeploymentId ¶ added in v1.0.3
func (this *CamundaDeployment) SetDeploymentId(id string)
type CamundaDeployments ¶ added in v1.0.3
type CamundaDeployments = []CamundaDeployment
/engine-rest/deployment?tenantIdIn="+url.QueryEscape(userId)+"&"+params.Encode()
type Count ¶ added in v1.0.3
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"`
Diagram Diagram `json:"diagram"`
IncidentHandling *IncidentHandling `json:"incident_handling,omitempty"`
}
type DeploymentMessage ¶
type DeploymentMessage struct {
Deployment
UserId string `json:"user_id"`
Source string `json:"source"` //optional
}
type ExtendedDeployment ¶ added in v1.0.3
type ExtendedDeployment struct {
CamundaDeployment
Diagram string `json:"diagram"`
DefinitionId string `json:"definition_id"`
Error string `json:"error"`
}
type HistoricProcessInstance ¶ added in v1.0.3
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 ¶ added in v1.0.3
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 ¶ added in v1.0.3
type HistoricProcessInstancesWithTotal = struct {
Total int64 `json:"total"`
Data HistoricProcessInstances `json:"data"`
}
type IncidentHandling ¶
type IncidentHandling = models.IncidentHandling
type ProcessDefinition ¶ added in v1.0.3
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 ¶ added in v1.0.3
func (this *ProcessDefinition) GetDeploymentId() (id string)
func (*ProcessDefinition) SetDeploymentId ¶ added in v1.0.3
func (this *ProcessDefinition) SetDeploymentId(id string)
type ProcessDefinitions ¶ added in v1.0.3
type ProcessDefinitions = []ProcessDefinition
/engine-rest/process-definition?deploymentId="+url.QueryEscape(id)
type ProcessInstance ¶ added in v1.0.3
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 ¶ added in v1.0.3
type ProcessInstances = []ProcessInstance
/engine-rest/process-instance?tenantIdIn="+url.QueryEscape(userId)
type Variable ¶ added in v1.0.3
type Variable struct {
Value interface{} `json:"value"`
Type string `json:"type"`
ValueInfo interface{} `json:"valueInfo"`
}