lib/ruote/fei.rb in ruote-2.1.7 vs lib/ruote/fei.rb in ruote-2.1.8
- old
+ new
@@ -90,10 +90,10 @@
ss = s.split('!')
FlowExpressionId.new(
'engine_id' => engine_id,
- 'expid' => ss[0], 'sub_wfid' => ss[1], 'wfid' => ss[2])
+ 'expid' => ss[-3], 'sub_wfid' => ss[-2], 'wfid' => ss[-1])
end
# Returns the last number in the expid. For instance, if the expid is
# '0_5_7', the child_id will be '7'.
#