code: public void updateFaxJob(FaxClientSpi faxClientSpi,FaxJob faxJob,ProcessOutput processOutput,FaxActionType faxActionType)
      {
          //get output
          String output=WindowsFaxClientSpiHelper.getOutputPart(processOutput,Fax4jExeConstants.FAX_JOB_ID_OUTPUT_PREFIX.toString());
  
          if(output!=null)
          {
              //validate fax job ID
              WindowsFaxClientSpiHelper.validateFaxJobID(output);
              
              //set fax job ID
              faxJob.setID(output);
          }
      }
docs: Updates the fax job based on the data from the process output.
  
  @param   faxClientSpi
  The fax client SPI
  @param   faxJob
  The fax job object
  @param   processOutput
  The process output
  @param   faxActionType
  The fax action type