Skip to main content
Solved

Published Parameter regular expression

  • June 23, 2016
  • 1 reply
  • 9 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.

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

1 reply

david_r
Evangelist
  • 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.


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