add derived fields meanWaitTime and meanWorkTime to ProcessIntance