docs: public RemoteTask createRemoteTask(Map<String, Object> properties) throws RemoteException
      {
          try   {
              Application app = this.getApplication();
              RemoteTask remoteServer = new TaskSession(app);
              ((TaskSession)remoteServer).setProperties(properties);
              return remoteServer;
          } catch (Exception ex) {
              ex.printStackTrace();
              return null;
          }
      }