Skip to main content
Solved

Published Parameter regular expression

  • June 23, 2016
  • 1 reply
  • 16 views

I have the following Regex ($(random)|IF|NOT|AND)

$(random) is a published parameter for FME Server, I want the user to be able to type any extra 'reserved' words they would require. This works fine when the $(random) parameter is populated, the problem is when it is left blank.

How can I ignore the blank published parameter when the user decides?

Best answer by david_r

One solution is to use the ParameterFetcher with a Tester to see if anyting was specified for the published parameter "random".

You then create the regex accordingly.

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.

1 reply

david_r
Celebrity
  • Best Answer
  • June 23, 2016

One solution is to use the ParameterFetcher with a Tester to see if anyting was specified for the published parameter "random".

You then create the regex accordingly.