Incoming data has no key, how to split it into tasks

Hello,

I’m running into a hopefully fairly simple thing to solve. I have data that is basically one big array of objects out of the API. I have no key to reference and since the entity transformer is executed afterwards I feel like this doesn’t have the hoped effect either. How can I split an array of objects into seperate tasks per object if I have no key?

Thanks in advance.

Hi @Bas.T,

Could you please confirm whether the data is like this:

[
  {
    "id": 1
  },
  {
    "id": 2
  }
]

If so, you can use this transformer: Get branches from a pattern

Then, in the pattern option, you can set “*”.

Perfect, that is exactly the option I was looking for. Now I do still have an issue with pagination. I have a query parameter called skip that I need to up by 100 since I take 100 at a time. How would I go about configuring that? @r.candrian

In that case, you can try to use Follow Pagination → Increase Query Parameter → Increase Offset. If it’s not resolved your issue, please create support ticket and provide us with the link to your configuration.