// skip needs to be called on TMP first.
if (optionalCall.equals("skip"))
tempoClient.skip(id);
else if (optionalCall.equals("fail"))
tempoClient.fail(id, "0", "Error message");
else if (optionalCall.equals("delete"))
tempoClient.delete(new String[] { id });
else if (optionalCall.equals("deleteAll"))
tempoClient.deleteAll("false", "T._state = TaskState.READY", "PATask");
else if (optionalCall.equals("reassign"))