最新情報 > Windchill > 11.0 F000 > 展開と設定 > ワークフロー: タスク完了遷移
  
ワークフロー: タスク完了遷移
製品: Windchill
リリース: 11.0 F000
利点
新しい遷移タイプが、タスク完了時に定義式を起動するようになりました。これにより、ワークフローテンプレート管理者は、個別の同期化ロボットを使用することなく、最初の却下でタスクを完了できます。
その他の詳細
新しい「タスクを完了」遷移がワークフローテンプレートエディタの「遷移」タブから使用できるようになりました。
遷移の定義式が true であれば、アクティビティノードに関連付けられている個々のタスクが完了します。
新しい API が、個々の役割による集計投票をサポートしています。

/*
* @param self : WfAssignedActivity ObjectReference
* @param eventToMatch : Routing option to tally
* @param assigneeRole : Role for which you want to tallythe routing option
* @param locale : The locale in which you have specifiedthe assignee role
* @return int : Number of votes from user in the specified role
* @throws WTException
*/
public static int count(ObjectReference self,String eventToMatch,String assigneeRole,Locale locale)
throws WTException
新しい API が、イベントをルーティングすることによって集計投票をサポートしています。

/*
* @param self : WfAssignedActivity ObjectReference
* @param eventToMatch : Routing option to tally
* @param int : Number of votes for the routing event in
the activity
* @throws WTException
*/
public static int count(ObjectReference self,String eventToMatch) throws WTException
新しい API が、条件が満たされたときにアクティビティが完了することをサポートしています。

/*
Supported API : True
Method to complete the activity
* @param self : WfAssignedActivity ObjectReference
* @param events : Routing event to follow
* @throws WTException
*/
public void completeActivity
(ObjectReference self,String events)
throws WTException
詳細については、「遷移」タブおよびタスク完了遷移を参照してください。