Skip to main content
Solved

Is there a way to pass dates to workspace parameters in automations?


johnglick
Contributor
Forum|alt.badge.img+1

I have an automation where dates are created in workspace 1 and passed to workspace 2. I already had published parameters formatted as dates in workspace 2. However, I can't see an option to use the dates from workspace 1 as keys, I only get a calendar selection. It works fine with strings, is there a way to do it with parameters which are dates?

Best answer by hollyatsafe

Hi @johnglick,

It doesn't look like setting an output key in a Published Parameter Date / DateTime is currently supported within Automations, possible because only a specific format is accepted for this parameter. Please consider posting an Idea to request this enhancement.

In the meantime I think the recommended workaround would be the approach you are already taking to change this parameter type to Text.

View original
Did this help you find an answer to your question?

3 replies

jovitaatsafe
Safer
Forum|alt.badge.img+11

Hi @johnglick,

have you had a chance already to check out one of Mark's previous Questions of the Week on passing a key or an attribute from a workspace to an FME Server Automation? Taking a quick skim through, I believe you might need to add an automations writer before you'll be able to see the keys you want to access? Hopefully that helps a bit!


Forum|alt.badge.img+2
  • Best Answer
  • April 28, 2020

Hi @johnglick,

It doesn't look like setting an output key in a Published Parameter Date / DateTime is currently supported within Automations, possible because only a specific format is accepted for this parameter. Please consider posting an Idea to request this enhancement.

In the meantime I think the recommended workaround would be the approach you are already taking to change this parameter type to Text.


johnglick
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • April 28, 2020
hollyatsafe wrote:

Hi @johnglick,

It doesn't look like setting an output key in a Published Parameter Date / DateTime is currently supported within Automations, possible because only a specific format is accepted for this parameter. Please consider posting an Idea to request this enhancement.

In the meantime I think the recommended workaround would be the approach you are already taking to change this parameter type to Text.

Thanks Holly, I posted an idea.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings