Ask Your Question

orchestration pipeline pass parameter as runtime parameter to start pipeline

asked 2020-06-12 09:31:50 -0500

aadish gravatar image

Hi Streamsets community,

I am using StreamSets Data Collector 3.15.0 ( built by ubuntu on 2020-04-14T00:23Z )

I have an orchestration pipeline in which I use a parameter "batch". I have few doubts.

  1. The Pipeline that I am starting using start pipeline uses a parameter also named as "batch", So, do I need to pass this in start pipeline, or the parameter will be automatically overwritten by the orchestration pipeline parameter ? Ideally it should I think, but that is not the case.Please confirm.

  2. If parameter is not automatically overwritten, how to pass that parameter as runtime parameter in start pipeline. I have tried putting [ { "key": "batch", "value": "batch2" } ] in orchestration pipeline parameter and {"batch":"${batch}"} in start pipeline Runtime Parameters option. But when I run the orchestration pipeline I get

    An exception occurred while running the pipeline, java.lang.IllegalStateException: The template variable 'batch' has no value

What I am doing wrong, please guide.

edit retag flag offensive close merge delete


A little confusing. Can you update your question and add screenshots of your pipelines and config?

iamontheinet gravatar imageiamontheinet ( 2020-06-12 14:59:44 -0500 )edit

I am not able to upload screenshots, don't have enough Karma. Can you tell me what part is confusing, I'll try to rephrase my query.

aadish gravatar imageaadish ( 2020-06-13 05:22:59 -0500 )edit

To sum it up simply, I am using an orchestration pipeline with parameter and I need to pass that parameter to a start pipeline runtime parameter, but I am not able to, I get "The template variable 'batch' has no value"

aadish gravatar imageaadish ( 2020-06-15 01:00:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-06-15 04:02:06 -0500

aadish gravatar image

I figured out the issue, this was a bug in 3.15, it is fixed in 3.16, upgraded and issue got resolved.

edit flag offensive delete link more


Thank you coming back and adding your answer so others know if they run into the same issue.

iamontheinet gravatar imageiamontheinet ( 2020-06-15 10:52:15 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-06-12 09:31:50 -0500

Seen: 132 times

Last updated: Jun 15