Forum Discussion

swatifunde's avatar
swatifunde
Contributor
3 years ago
Solved

How to pass parameter in JSON generator snap

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

Please advise me to correct it

  • @swatifunde

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

    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

2 Replies

  • SpiroTaleski's avatar
    SpiroTaleski
    Valued Contributor

    @swatifunde

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

    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