Which TM1 Server version is the WaitForAnyJobs function available for?
Version 12
What is the syntax for WaitForAnyJobs?
WaitForAnyJobs(ID1, ID2, etc.)
ID1, ID2, etc.: The job ID of each asynchronous process
Relevant Functions
CancelJobs: cancel asynchronous processes that were launched by the RunProcess function and are blocked due to certain conditions. Any pending changes in a job cancelled with CancelJobs are rolled back.
GetJobStatus: return the status for a specified process.
WaitforAllJobs: instructs the main process to wait for all specified asynchronously executed processes to complete before continuing the main process.
WaitForAnyJobs: instruct a main process to wait for any specified asynchronously executed processes to complete before continuing the main process.
WaitForInternalJobs: wait for all asynchronous jobs that are directly launched by the current process to complete before continuing the current process.