Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3353

Asynchronous script with a file as return value send an empty mail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.3.0
    • 4.3.0
    • None
    • None
    • 4.3 RC1

      Execute the following script asynchronously

      var report = Report.create("Time repartition");
      var header1 = report.addHeader();
          header1.addColumn("Label", 1, 2);
          header1.addColumn("Volume", 3, 1);
      var header2 = report.addHeader("TP", "TD", "CM");
      
      report.addRow("English", 3, 2, 1);
      
      var row2 = report.addRow();
          row2.addColumn("Spanish");
          row2.addColumn(4);
          row2.addColumn(5);
          row2.addColumn(4);
      
        var file = report.saveAsHTML();
        
        report.print();
        report.printLink();
      
      return file;
      } 
      

      The received email is empty :

      Le script que vous avez lancé le 7 février 2020 à 10:28:36 CET est terminé.
      La console de sortie est :

       

       

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: