Class: Camunda::Operate::ProcessInstances
- Inherits:
-
API
- Object
- BaseAPI
- API
- Camunda::Operate::ProcessInstances
show all
- Defined in:
- lib/camunda/operate/process_instances.rb
Class Method Summary
collapse
Methods inherited from API
base_url, oauth_token
Methods inherited from BaseAPI
build_url, get, headers, patch, post
Class Method Details
.all_active ⇒ Object
10
11
12
13
|
# File 'lib/camunda/operate/process_instances.rb', line 10
def self.all_active
params = { filter: { state: 'ACTIVE' } }
search(params)
end
|
.find(instance_id) ⇒ Object
15
16
17
|
# File 'lib/camunda/operate/process_instances.rb', line 15
def self.find(instance_id)
get("process-instances/#{instance_id}")
end
|
.search(params) ⇒ Object
6
7
8
|
# File 'lib/camunda/operate/process_instances.rb', line 6
def self.search(params)
post('process-instances/search', params)
end
|