WaitForAllJobs is a TurboIntegrator function, available from TM1 Server version 12, that instructs the main process to wait for all specified asynchronously executed processes to complete before continuing the main process. This can be particularly useful when you have multiple jobs running in parallel, and you need to ensure that all these jobs have been completed before moving on to the next steps in your script.
In the video, WaitForAllJobs is used to wait for two processes processes before continuing to complete.
TurboIntegrator
Version 12
WaitForAllJobs(ID1, ID2, etc.)