String requestAddMsg = "BPMS Administrator";
nate.getNS().requestAdd(nateOnReceiverId, requestAddMsg.replaceAll(" ", " ").replaceAll("\n", "%0D%0A"));
try {
nate.sendIMessage(new InstanceMessage(nateOnSenderId, nateOnReceiverId, content));
Thread.sleep(5000);
} catch (IOException e) {
e.printStackTrace();
} catch (InterruptedException e) {
}