cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass parameter in JSON generator snap

swatifunde
Contributor

Hello Community,

Can you please help me to understand how can I pass or is it possible to pass parameter in JSON generator snap.

Below snapshot for reference
image

Please advise me to correct it

1 ACCEPTED SOLUTION

SpiroTaleski
Valued Contributor

@swatifunde

It is possible. You will need first to set the pipeline parameters(in Edit Pipeline Properties):
ex:

image

The path in your JSON Generator configuration for accessing the parameters looks correct.

Also, I am attaching sample pipe as an example.

JSON_Generator_Param_2022_11_07.slp (2.5 KB)

BR,
Spiro Taleski

View solution in original post

2 REPLIES 2

SpiroTaleski
Valued Contributor

@swatifunde

It is possible. You will need first to set the pipeline parameters(in Edit Pipeline Properties):
ex:

image

The path in your JSON Generator configuration for accessing the parameters looks correct.

Also, I am attaching sample pipe as an example.

JSON_Generator_Param_2022_11_07.slp (2.5 KB)

BR,
Spiro Taleski

swatifunde
Contributor

Thank you so much for help 🙂 it works now