Forum Discussion
Follow these steps to learn more
In the dashboard, find the instance of the pipeline that failed. Click on the pipeline name in the first column. This will load it into the designer, if the pipeline has been altered since it ran, you may see a warning, that is expected, you are opening up a copy of the pipeline as it ran. Open the pipeline statistics and scroll through the errors at the pipeline or snap level. Also review the extra details for additional information. I suspect it is not at the snap level, but at the pipeline level. Look for time outs and failed connections.
- ivicakoteski2 years agoNew Contributor III
Hi aakumar,
The map() method is an iterative method and returns a new array with the values transformed by the given callback.
The current expression constructs a new array containing an object, where the object's property value is assigned the value of "rd.sc".
I have updated the expression to be more descriptive:
$SRSAPI.filter(f=>f.agrDetails.riskLevel == "Low Risk").map(element=>{"rd":{"sc":element.rd.sc}})
BR.
Ivica