0
Iream 개정판의 릴리스 상태를 복사하여 데이터 세트에 붙여 넣기를 원했습니다.이 모든 과정은 ITK를 통해 수행 할 수 있지만 RAC가 수행하기를 원합니다.Teamcenter에서 RAC를 통해 Object를 해제 할 수 있습니까?
나를 도와 줄 수 있습니까?
Iream 개정판의 릴리스 상태를 복사하여 데이터 세트에 붙여 넣기를 원했습니다.이 모든 과정은 ITK를 통해 수행 할 수 있지만 RAC가 수행하기를 원합니다.Teamcenter에서 RAC를 통해 Object를 해제 할 수 있습니까?
나를 도와 줄 수 있습니까?
public void setReleaseStatus(){
WorkflowService serviceWF = WorkflowService.getService(session);
ReleaseStatusInput relStInput = new com.teamcenter.services.rac.workflow._2007_06.Workflow.ReleaseStatusInput();
relStInput.objects = new TCComponent[]{subLine};
ReleaseStatusOption relStOptions = new com.teamcenter.services.rac.workflow._2007_06.Workflow.ReleaseStatusOption();
/* // if we want delete TCReleased
relStOptions.existingreleaseStatusTypeName = "TCReleased";
relStOptions.newReleaseStatusTypeName = "";
relStOptions.operation = "Delete"; // or Append or Replace
*/
// if we want set status TCReleased
relStOptions.existingreleaseStatusTypeName = "";
relStOptions.newReleaseStatusTypeName = "TCReleased";
relStOptions.operation = "Append";
relStInput.operations = new Workflow.ReleaseStatusOption[]{relStOptions};
try {
serviceWF.setReleaseStatus(new Workflow.ReleaseStatusInput[]{relStInput});
} catch (ServiceException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
안녕하세요, 감사합니다. 워크 플로 프로세스 API에서 가져 오기 RAC를 통해 릴리스 개체를 얻을 수있는 방법이 있습니까? – Diksha