Árvore de páginas

In all movements in a process, the data is sent to analytics. Information regarding the process are automatically sent and information from the form can be handled in the event beforeSendData.

The function to treat this process event has two parameters customField and customFact. The first parameter is an array of strings already instantiated, with 10 positions (0 to 9). The second parameter is an array of 10 positions, but the data must be double type and its content will be treated as a "fact".

An example of implementation can be seen below:

 

beforeSendData
function beforeSendData(customField, customFact) {
    customField[0] ="1";
    customField[1] =hAPI.getCardValue("campo_do_formulario");
    customFact[0]=10.53;
    customFact[1]=java.lang.Double.parseDouble(hAPI.getCardValue("campo_valor"));
 }

 

 

 

 

  • Sem rótulos