In general regarding actionbatches there are two ways to run them; synchronous or asynchronous. Running them synchronous means they are pushed in the order as the are appended in the actions. Asynchronous they are pushed in whatever order. And either way they aren't pushed unless "confirmed" is set to True.
You submit a batch that is supposed to run, and it returns an ID. You then check on that ID to make sure it's actually completed or not.
I think the payload looks good enough. Are you running it synchronous? And how many actions are there? Synchronous mode, only supports up to 20 actions, so you'll need to split it up in chunks.
Perhaps also use True/False, and not true/false (first letter capital).
LinkedIn :::
https://blog.rhbirkelund.dk/Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution
🙂All code examples are provided as is. Responsibility for Code execution lies solely your own.