how to get process all nodes processing and processing time by RTC Server SDK api
![]()
Hi,
I want to use RTC-SDK-Server-6.0.6.1 api to record the processing person and processing time of all nodes in the process at the end of the process, whether there is a related method to achieve the change record of the query process status, which is convenient for me to achieve this function.
thanks for your help
public void run(AdvisableOperation operation,
IProcessConfigurationElement advisorConfiguration,
IAdvisorInfoCollector collector, IProgressMonitor monitor)
throws TeamRepositoryException {
Object data = operation.getOperationData();
if (data instanceof ISaveParameter) {
ISaveParameter saveParameter = (ISaveParameter) data;
IAuditable oldauditable = saveParameter.getOldState();
IWorkItem oldWorkItem = (IWorkItem) oldauditable;
IAuditable auditable = ((ISaveParameter) data).getNewState();
IWorkItemServer service = getService(IWorkItemServer.class);
if (auditable instanceof IWorkItem) {
IWorkItem newWorkItem = (IWorkItem) auditable;
/
/
}
}
}
|
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.