Method: ProcessEngine::Parser::SequenceFlow#to_h

Defined in:
app/models/process_engine/parser/sequence_flow.rb

#to_hObject



23
24
25
26
27
28
29
30
31
32
33
34
# File 'app/models/process_engine/parser/sequence_flow.rb', line 23

def to_h
  custom_ext = custom_extension_elements_hash(:execution_listeners, :properties)

  super.merge({
    extension: {
      common: custom_ext,
      condition_expression: condition_expression.to_h
    },
    source_ref: source_ref,
    target_ref: target_ref,
  })
end