Skip to main content

Hi,

I have a core workbench that is called from a fmeserverjobsubmitter with several parameters from the submitter workbench.

Now in the core workbench I added a new parameter. If I don't refresh the fmemserverjobsubmitter in the submitter workbench, the behaviour is what I expected: new runs of the submitter workbench works with the default value set in the new parameter.

If I refresh the fmeserverjobsubmitter the new parameter is present in the list of my parameters. Now I'm forced to set a value in the parameter box. If I leave the value empty, the jobsumbitter send an empty value to the core workbench. I've tried to switch to private parameter and set the default value but I have to maintain the value in the private parameter.

How I can force the core workbench to use the default parameter set in it? I'd like that the behavoiur in this case is the same as the programming language. For example:

def myProcedure(param1, param2 = False):

The param2 is set to false when I call myProcedure(value1) .

The goal is to have the autoset of the value from the defaul parameter set in the core workbench.

Thank you for any suggestions

I'm not sure that's currently possible, short of what you've already tried.


I'm not sure that's currently possible, short of what you've already tried.

Thank you @david_r,

I think that I will create a optional parameter empty at default and manage the real parameter used in the workbench as a python script type with a control structure...


Thank you @david_r,

I think that I will create a optional parameter empty at default and manage the real parameter used in the workbench as a python script type with a control structure...

Yeah, that's probably the most robust solution. I would've done the same thing myself.


Reply