Solved

Change Runtime Parameter value

  • 13 December 2021
  • 5 replies
  • 898 views

I have passed a parameter to my pipeline which has a default value when I start the pipeline. I need to change it's value in from one of processors. Is it possible to change the runtime parameter? If yes, can you please provide the steps to do that.

icon

Best answer by Giuseppe Mura 14 December 2021, 11:06

View original

5 replies

Userlevel 2
Badge

@jangala.karthik We have an option “Starting Pipelines with Parameters”, which overrides the default values while starting the pipeline. Please refer the attached doc for more details.

If the provided information is not helpful, please elaborate on the use-case?(which processor you are using, etc.,)

@jangala.karthik We have an option “Starting Pipelines with Parameters”, which overrides the default values while starting the pipeline. Please refer the attached doc for more details.

If the provided information is not helpful, please elaborate on the use-case?(which processor you are using, etc.,)

Thank You @Ranjith P . Can we change the pipeline parameter based on certain condition by one of the processors during the execution?

Userlevel 3
Badge +1

Hi @jangala.karthik , I don’t think you can update the parameter on the fly (i.e., during a pipeline execution).

Can you elaborate what you are trying to do? There might be other workarounds.

Userlevel 3
Badge

@jangala.karthik I think one way of handling this would be to use record header attributes; to all intents and purposes header attributes are variables which you can set and update throughout the pipeline.

You could for example get the value from a parameter in an Expression Evaluator with this Attribute expression:
param1_value = ${PARAM1}
 

 

then you can modify the value of the attribute down the pipeline, any way you need;

 

 

see the effect of my example here:

 

 

Thank You @Giuseppe Mura  :). I am able to use header variables to implement the pipeline as required.

Reply