Pipelet Input Parameter missing

78 views Asked by At

This is my code

Pipeline

Pipelets java

Pipelets XML

I'm passing a parameter(SKUs) value into a pipeline from js. The value is getting passed into the pipeline but not into pipelets. It gives me parameter SKUs in not available.

Thanks in Advance

2

There are 2 answers

1
DiverDori On

you are trying to pass a String to a List. You could try again by making Pipelet Input Parameter "SKUs" type "java.util.List<java.util.String>".

1
Johannes Metzner On

If your SKUs parameter is passed to the pipeline using JS client (via post or get), your pipelet needs to process type String[].