Hi,
i just want to make sure i'm understanding things correctly
I would say a Batch Process in general means that the user won't be blocked waiting for the code inside the batch process to end.[ he can continue exploring the UI while it's running]
Sync Batch Process: let's say my code inside the batch process does 3 steps this means step 1 will run first and step 2 won't run until step 1 finishes successfully and so on. [user won't be blocked by white screen]
Async Batch Process: let's say my code inside the batch process also does 3 steps this means step 1 will run and at the same time step 2 will be running regardless if step 1 finished or not also step 3 will be running together with step 1 and step 2 even if they didn't finish. [user won't be blocked by white screen]
I think i should use async when my 3 steps are not dependent and i don't won't any step to fail if other steps fails too... but i think if one of the steps throw an error in async i think everything will fail? Also i read things where async can only be used with custom services? is that right?