Skip to main content
Solved

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

  • April 24, 2020
  • 3 replies
  • 49 views

johnglick
Contributor
Forum|alt.badge.img+7

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

jovitaatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • 635 replies
  • April 27, 2020

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
  • 719 replies
  • 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+7
  • Author
  • Contributor
  • 33 replies
  • 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.

Thanks Holly, I posted an idea.