Send Action


Back to Activate Action...

The Send Action is carried out during the creation of a job. This is especially useful, if you want to point out something during creating a job or if you want to perform a consistency check for the job to be created (eg: did they also attached form X or are the form fields X, Y and Z filled). For example: to force the selection of a product type for the service request form you can proceed as follows:

result="success";
var myForm = helper.getMetaDataFromTaskByName("Serviceanforderung");
if(myForm!=null)
{
   var producttype = myForm.getValueByFieldName("Produkttyp_k");   
  if(producttype==null || producttype=="?")
  {
    result="failure";  
    helper.errorMessage("Wählen Sie im Formular 'Serviceanforderung' bitte einen Produkttyp aus!");
  }
} 

Go to Start Action...

     

Child Pages