Bulk methods for submit/cancel tasks


How can I submit forms in bulk? How can I cancel multiple tasks by IDs in single call?
Doing it in a loop one by one is too slow.


There’s currently no API for that.

Did you try adding a custom command through the managementService#executeCommand method. If you loop there, they all will be done in a single database transaction.