lib/openwfe/expressions/fe_raw.rb in openwferu-0.9.3 vs lib/openwfe/expressions/fe_raw.rb in openwferu-0.9.4
- old
+ new
@@ -98,18 +98,18 @@
def apply (workitem)
exp_name = expression_name()
- exp_class = nil
+ exp_class = expression_class()
attributes = nil
template = lookup_variable(exp_name)
#
# is it a subprocess ?
template = get_participant_map.lookup_participant(exp_name) \
- unless template
+ if (not template) and (not exp_class)
#
# is it a directly a participant ?
if template