It's all about the answers!

Ask a question

how to get process all nodes processing and processing time by RTC Server SDK api


Avic Xu (11) | asked Oct 10 '19, 7:32 a.m.
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!


Register or to post your answer.