GetTaskByStageId

操作

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

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

定義

int GetTaskByStageId( int sessionId, int projectId, int [] stageIds, boolonlyPreprocessedTasks, boolonlyPrivateBatches );

パラメータ

名前 記述
sessionId int アプリケーションサーバーへの接続のID
projectId int プロジェクトID
stageIds int[] タスクを取得する段階のID
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.