Skip to main content

Hi folks.

 

My first question on here so I hope I'm not being a bit dim. I'm relatively new to FME in general and certainly not a regular user.

We are having a problem with a Published Parameter (something we are new to!).

When we launch a workflow we would like a popup that asks us to choose a scale value from a list of options (250 & 800 in this case). We have done this with a User Parameter with these settings:

 

(Note no Default Value is set)

On launching the workflow, it does indeed popup and ask us for our choice - here we have chosen '250':

We press OK and the workflow continues using that Parameter.

However, Next time we press Run we do not get the pop up again. On inspection, the User Parameter settings now have a Default Value set as per our choice on the first run:

So I guess i have two questions:

  1. Why/How is the Default Value being set?
  2. Why does the choice pop up not appear on the second/subsequent running of the workflow?

Thank you in advance....

Hi @bambography,

  1. I don't think that it can be stopped that the parameter value you have set for the first run is propagated for the second run.
  2. If you have checked the "Run With Prompt", the parameters dialog appears everytime, regardless whether the value is set.


Yes its for a reason called default...


If you never want a default value to be set, you can run the workspace via the Quick Translator instead of the workbench.


Hi @bambography,

  1. I don't think that it can be stopped that the parameter value you have set for the first run is propagated for the second run.
  2. If you have checked the "Run With Prompt", the parameters dialog appears everytime, regardless whether the value is set.

Thanks. When we set the Run With Prompt, we also get prompted for every Input Dataset throughout the whole workflow. This would be quite a tedious task due to the volume. Had to move to something else right now but will look at whether this can be conditional on the type of prompt later.

 


Thanks. When we set the Run With Prompt, we also get prompted for every Input Dataset throughout the whole workflow. This would be quite a tedious task due to the volume. Had to move to something else right now but will look at whether this can be conditional on the type of prompt later.

 

Private parameters do not appear on the translation parameters dialog. Convert the published parameter to private parameter, if you will never check its setting on the parameters dialog.

 


Reply