@SuppressWarnings("unchecked")
@Override
protected Element invokeInternal(Element requestElement) throws Exception {
Element commonElement = requestElement.getChild("common", WORKFLOW_NAMESPACE);
DelegateWorkItemMsg dwMsg = new DelegateWorkItemMsg();
dwMsg.setExternalKey(commonElement.getChildText("externalKey", WORKFLOW_NAMESPACE));
dwMsg.setProcessVariablesByElementList(commonElement.getChildren("processVariable", WORKFLOW_NAMESPACE));
dwMsg.setRolesByElementList(commonElement.getChildren("role", WORKFLOW_NAMESPACE));
dwMsg.setInstanceId(requestElement.getChildText("instanceId", WORKFLOW_NAMESPACE));
dwMsg.setTracingTag(requestElement.getChildText("tracingTag", WORKFLOW_NAMESPACE));
dwMsg.setEndpointsByElementList(requestElement.getChildren("endpoint", WORKFLOW_NAMESPACE));
System.out.println(dwMsg);
String status = null;
List<TaskInfo> taskInfoList = null;