Skip to main content
Open

Have Workspace run start date/time an FME Parameter

Related products:FME Form
  • May 21, 2018
  • 1 reply
  • 32 views

Forum|alt.badge.img

One very frequent issue that I've come across is the need to record the timestamp during a model. Currently, the main way to do this without having different timestamps across a dataset is to capture the timestamp at the beginning of the model and then to store it in a parameter.

It would be great if instead, I could use a built in parameter, such as FME_RUN_DATETIME.

This parameter would capture the datetime when a model is run for use in later calculations, attribution, custom logs, and fanouts as needed without having to add multiple transformers to each model.

1 reply

  • October 3, 2018

I have de same suggestion. I use Python code into a Private Parameter to this. But it would be easier with a native FME option.

Python code is :

from datetime import datetime

 

time = datetime.now()

 

return time.date()