var json = new JSON();


var parameterOne = (isJSON(event.parm1) == true) ? json.decode(event.parm1) : event.parm1;


createIncident(parameterOne);


gs.log("CURRENT : " + current.sys_id + " - " + current.number);



var recordTextHeader = "Record Information\n";


      var tableName = "Table : Unable to determine the source table.\n";




  if(current.sys_class_name != ""){


  tableName = "Table : " + current.sys_class_name + "\n";


  }


      var recordNumber = "Number : Unable to determine record number.\n";


  if(current.number != ""){


  recordNumber = "Number : " + current.number.toString() + "\n";


  }


      var uniqueID = "Unique ID : Unable to determine the sys_id of the source record.\n";


      if(current.sys_id != ""){


              uniqueID = "Unique ID : " + current.sys_id.toString() + "\n";


      }


      var item = "Item : Unable to determine what item was requested.\n";


      if(current.sys_class_name == "sc_req_item"){


              if(!current.cat_item.nil()){


                      item = current.cat_item.getDisplayValue() + "\n";


              }


      }



If by schedule an event, you mean register an event, yes I have.


find_real_file.png