What it does
Selects the task with the highest priority and opens it for processing. The selected task is locked (i.e. cannot be opened by other users).
Important! A task must be opened before any actions on the task can be performed.
int GetTaskByStageId( int sessionId, int projectId, int stageIds, bool onlyPreprocessedTasks, bool onlyPrivateBatches );
|sessionId||int||The ID of the connection to the Application Server|
|stageIds||int||The IDs of the stages to get task from|
The flag which determines from which tasks to select. Possible values:
The flag which determines the set of available batches. Possible values: