752e65a57f95cf1c1b46b752de2accd7f6777be3
Issue:
0016872: Event execution times are not being generated correctly
Cause:
Se esta mandando un numero real (ej 955.33) a la funcion "strtotime"
Solution:
Se esta redondeando el numero con la funcion "round", para que de
esa manera se mande un numero entero a la funcion "strtotime"
Explanation:
- En nuestro "Calendario" se tiene definido por default que son 8 horas de
trabajo por dia (8 horas/dia)
- En el proceso adjunto en el bug, se tiene definido lo siguiente:
> ...
> The time starts with task: Task2
> Estimated Task duration: 8 hours (esto se
transforma a: 0.33333333333333 (8/24), segun la wiki)
> Execution time: 0 days After interval ends
> ...
Estos valores mas el resto de campos son almacenados en la tabla "EVENT"
- Ahora como ejemplo tenemos el siguiente caso: en fecha y
hora "2015-03-03 13:49:52" se inicia un caso con el Task1 y es derivado al
Task2, entonces se crea un registro en la tabla "APP_EVENT". El campo que
es objeto de estudio es "APP_EVENT.APP_EVN_ACTION_DATE", el cual tiene un
valor de "2015-03-03 16:29:52"
- Entonces el analisis es el siguiente:
0.33333333333333 dias * 8 horas/dia = 2.6666666666666 horas
Lo que quiere decir que el cron.php ejecutara/iniciara/revisara el caso
el "2015-03-03 13:49:52" + "2.6666666666666 horas" osea el "2015-03-03 16:29:52"
README
ProcessMaker "Michelangelo"
(It is under development yet, please wait for the final release, that is comming soon)
Overview
ProcessMaker is an open source, workflow management software suite, which includes tools to automate your workflow, design forms, create documents, assign roles and users, create routing rules, and map an individual process quickly and easily. It's relatively lightweight and doesn't require any kind of installation on the client computer. This file describes the requirements and installation steps for the server.
License
ProcessMaker - Automate your Workflow Copyright (C) 2002 - 2013 Colosa Inc.
Licensed under the terms of the GNU Affero General Public License version 3: http://www.affero.org/oagpl.html
For further information visit: http://www.processmaker.com/
Description
Languages
PHP
47.6%
JavaScript
39.1%
CSS
5.3%
HTML
2.9%
Gherkin
2.4%
Other
2.5%

