@Override
public Response getWorkItem(Long workItemId) {
String oper = getRelativePath();
WorkItem workItem = (WorkItem) processRequestBean.doKieSessionOperation(
new GetWorkItemCommand(workItemId),
deploymentId,
(Long) getNumberParam(PROC_INST_ID_PARAM_NAME, false, getRequestParams(), oper, true));
if( workItem == null ) {
throw KieRemoteRestOperationException.notFound("WorkItem " + workItemId + " does not exist.");