lib/openwfe/expressions/fe_iterator.rb in openwferu-0.9.3 vs lib/openwfe/expressions/fe_iterator.rb in openwferu-0.9.4

- old
+ new

@@ -114,10 +114,12 @@ .lookup_attribute(:to_field, workitem) @to_variable = iterator_expression\ .lookup_attribute(:to_variable, workitem) @value_separator = iterator_expression\ - .lookup_attribute(:value_separator, workitem, /,\s*/) + .lookup_attribute(:value_separator, workitem) + + @value_separator = /,\s*/ unless @value_separator @counter = 0 raw_list = OpenWFE::lookup_vf_attribute( iterator_expression, workitem, :value, :on)