I have a schema like this
in which the data looks like below
Basically, I am making an API call to insert order Line, and as they are getting inserted, the response result is bringing back the records.
starts with 1 then based on the number on the number of requests, the response brings back all the inserted ones, repeating previously inserted ones.
my goal is to get distinct inserted records
Order-Lines : [
please find here the sample input for more understanding.
any guidance is greatly appreciated.
There are several ways from which you can get the correct order line. Here are two of them.
You can always pull out last element of the array.
Thanks @viktor_n for the direction.
I have tried multiple ways but did not see how to get it. please see attached pipeline that I have tried.
Community_2022_12_04.slp (877.8 KB)
please advice what I am missing.
Here is an updated pipeline.
Community_2022_12_04.slp (1.7 MB)
I’ve made two samples. First one is with the all other data included from the response and second one is only with order lines. See which will work for you more.
If it’s still something as you not expect tell me I am here to help.
Thank you very much @viktor_n . thats what I was looking for.