Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By marcosfpa
Hi, I have a problem with PM Table. I created a process that captures some data and inserts it into a GRID. I created the TRIGGER below to get the GRID data and insert it into a PM Table. But it only inserts a few lines and not all the data. The GRID has 232 records and in the PM Table only 84. What's wrong with my TRIGGER?

$gridprocesso = @=listaJuridico;

foreach ($gridprocesso as $row) {
$numCaso = $row['numCaso'];
$cod = $row['codCliente'];
$cliente = $row['cliente'];
$adv = $row['advogado'];
$total = $row['total'];
$status = $row['status'];

$insert = "INSERT INTO PMT_RELATORIOCOBRANCAS (NUMCASO, CODCLIENTE, CLIENTE, ADVOGADO, STATUS, TOTAL) VALUES ('$numCaso', '$cod', '$cliente', '$adv', '$status', '$total')";
$result = executeQuery($insert);
By zainab
Hello marcosfpa,

Kindly edit your php.ini file and increase the value of max_input_vars. Restart your Apache server, and check if it works correctly.

Hope this helps.

Best Regards,
Zainab Sabunwala

As you have got seen that after every single updat[…]

issue with processmaker 3.2

Hello! The solution to your question is the foll[…]

BPMN project disappeared

Hi Alex! , maybe you forgot to save your process[…]

mcrypt extension is deprecated!

Hello Ehsan! If you did not find the mcrypt ext[…]