cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Ow can we pass array in pipeline parameter

Rahul
New Contributor III

Hi, I am trying to use an array in the pipeline parameter and need to pass the child mapper and array is converted into String.

[
โ€œSENDING_PLANโ€,
โ€œTRACKING_PLANโ€
]

1 REPLY 1

bojanvelevski
Valued Contributor

Hey @Rahul,

The eval() function can help you in this case. Try the following:

param = '["SENDING_PLAN","TRACKING_PLAN"]' - String
expression in mapper -> eval(_param)