code: public FlowResponse submitFaxJob(T inputData,Object contextData,boolean invokeVendorPolicy)
      {
          boolean continueFlow=true;
          VendorPolicy vendorPolicy=null;
          if(invokeVendorPolicy)
          {
              //get vendor policy
              vendorPolicy=this.FAX_BRIDGE.getVendorPolicy();
      
              //invoke policy
              continueFlow=vendorPolicy.invokePolicyForRequest(contextData);
          }
          
          FaxJob faxJob=null;
          if(continueFlow)
          {
              //submit fax
              faxJob=this.FAX_BRIDGE.submitFaxJob(inputData);
  
              if(invokeVendorPolicy)
              {
                  //invoke policy
                  continueFlow=vendorPolicy.invokePolicyForResponse(contextData,faxJob);
              }
          }
  
          //create response
          FlowResponse flowResponse=new FlowResponse(faxJob,continueFlow);
          
          return flowResponse;
      }
docs: This function invokes the submit fax job flow.<br>
  As part of the flow, if requested, the vendor policy would be invoked as well.
  
  @param   inputData
  The input data for the fax bridge
  @param   contextData
  The conext data used by the vendor policy (may be same as the input data)
  @param   invokeVendorPolicy
  True to invoke the vendor policy
  @return  The flow response