Is it possible to use an attribute with the type 'Duration' in a customized script?
One answer
Hi,
as far as I can tell this is possible. As far as I am aware the duration is time in milliseconds. In any way the AttributeValueAnalyzer in Lab 5 of the Process Enactment Workshop shows how to access the data. The workshop also shows how to convert and calculate with script based attributes using parseInt(). I am sure there are other ways to do it using JavaSript or Dojo I am not even aware of.
as far as I can tell this is possible. As far as I am aware the duration is time in milliseconds. In any way the AttributeValueAnalyzer in Lab 5 of the Process Enactment Workshop shows how to access the data. The workshop also shows how to convert and calculate with script based attributes using parseInt(). I am sure there are other ways to do it using JavaSript or Dojo I am not even aware of.