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).If there is no suitable task, “0” is returned.
Definition
Parameters
Name | Type | Description |
sessionId | int | The ID of the connection to the Application Server |
projectId | int | Project ID |
stageType | int | The ID of the stage type. See ProcessingStage for possible values. |
onlyPreprocessedTask | bool | The flag which determines from which tasks to select. Possible values:
|
onlyPrivateBatches | bool | The flag which determines the set of available batches. Possible values:
|
Returned value
| Type | Description |
|---|---|
| int | Task ID |
