GetTask

操作

最も高い優先度のタスクを選択して、処理のために開きます。選択したタスクはロックされています (他のユーザーが開けないようになっています)。

注:合うタスクがない場合は、「0」が返されます。

重要!タスクでアクションを実行する前に、タスクを開く必要があります!

定義

int GetTask( int sessionID,int projectId, int stageType, boolonlyPreprocessedTask, boolonlyPrivateBatches );

パラメータ

名前 記述
sessionId int アプリケーションサーバーへの接続のID
projectId int プロジェクトID
stageType int 段階型のID。詳細については、以下を参照してください:ProcessingStage可能な値
onlyPreprocessedTask bool

タスクの選択元を定めるフラグ。可能な値:

  • True - 前処理されたタスクのみを選択
  • False - すべてのタスクから選択
onlyPrivateBatches bool

使用可能なバッチのセットを定めるフラグ。可能な値:

  • True - 現在のユーザーまたはユーザーグループに属するバッチのみ使用可能
  • False - すべてのバッチが使用可能

戻り値

記述
int タスクID

25.05.2023 7:55:10

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.