Class: Camunda::ProcessInstance
- Defined in:
- lib/camunda/process_instance.rb
Overview
A process instance is an individual execution of a process definition. The relation of the process instance to the process definition is the same as the relation between Class and Class instance in OOP. When a process definition is started, a process instance is created.
Instance Method Summary collapse
-
#variables ⇒ Object
GETs the process instance and deserializes the variables.
Methods inherited from Model
find_by!, log_details?, worker_id
Instance Method Details
#variables ⇒ Object
GETs the process instance and deserializes the variables
9 10 11 12 |
# File 'lib/camunda/process_instance.rb', line 9 def variables response = self.class.get_raw "process-instance/#{id}/variables" deserialize_variables response[:parsed_data][:data] end |