Send Action


The send action is carried out when a ticket is created. It is therefore useful, for example, if you want to point out something when creating a ticket, or if the ticket to be created is to be subjected to a consistency check (e.g.: Have you also attached form X, or are the form fields X, Y and Z filled in). To force the filling out of a text field for the name for a form, for example, you can proceed as follows:

var name = form.getValueByFieldName("Name");
if(name == null || name.length()==0){
  helper.errorMessage("Please enter a name!");
  result="error";
}