How to perform createMany bulk operation with repeatable component?

System Information
  • Strapi Version: 4.13.7
  • Operating System: mac os
  • Database: postgres
  • Node Version: v16.19.1
  • NPM Version: 8.19.3

I want to perform the bulk operation createMany, but my data has a repeatable component, so it doesn’t populate the repeatable component.

Currently, I am using the map function with strapi.entityService.create for each entity, and it works. However, the issue is that my webhook gets triggered on each call to strapi.entityService.create, causing the redeploy hook to be triggered.

How to solve this?

Can you turn off webhook buy doing api call?

Webhooks can not be turned of by doing an api call to my knolage.

You can however do the same thing in a lifecyle you would only have to send the webhook yourself.

that way you could set a global variable in the global scope to disable it
aka strapi.sendReDeploy = false
and you can then check for that inside of the lifecycle