def attribute_text(workitem=h.applied_workitem)

      text = attributes.keys.find { |k| attributes[k] == nil }

      dsub(text.to_s, workitem)
    end
def attribute_text(workitem=h.applied_workitem)

      text = attributes.keys.find { |k| attributes[k] == nil }

      dsub(text.to_s, workitem)
    end
Given something like

   sequence do
     participant 'alpha'
   end

 in the context of the participant expression

   attribute_text()

 will yield 'alpha'.

 Note : an empty text returns '', not the nil value.