Hi,

I'd like to know how to populate a dateTime (task-) variable with the current date and time. Preferably this would happen once a task is stared.

Thanks,
Stefan

mRoskosch

Thu, 05/24/2012 - 11:42

I f you want to insert the current time anywhere in a workflow, you need to use the xpath functions. The xpath fuctions can be used in input- and output mappings.

For this example you would need to enter the function "{current-dateTime()}" (without quotation marks) in an input mapping for the variable, that should contain the current dateTime.

For further XPath functions visit:

http://www.w3.org/TR/xpath-functions/

Hope this helped.

Regards,

Markus