新功能 > 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
如需詳細資訊,請參閱轉移標籤完成任務轉移