Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
After I moved my installation to another server, system send this message many times, and when I go to Scheduler Manager in admin panel, Workflow shows Running, but task is marked as inactive
How I can solve that?
Ranieri
eCRM Web
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
activate the workflow task and then deactivate it again
Joe
TSolucio
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
If you set it INACTIVE it should not go back in to Active nor Running (this is what I understood you wanted to do)
If you leave it active and it gets stuck on Running then it is because there is an error in one or more of your workflows and you have to debug which one it is and why
Joe
TSolucio
Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
PHP Fatal error: Uncaught Error: Call to a member function getFieldDataType() on null in /usr/share/coreBOS/corebos-master/modules/com_vtiger_workflow/VTWorkflowUtils.php:41
Stack trace:
#0 /usr/share/coreBOS/corebos-master/modules/com_vtiger_workflow/tasks/VTUpdateFieldsTask.inc(93): VTWorkflowUtils::fieldvaluebytype(Array, 'expression', 'sub_days(get_da...', 'cf_1118', Object(Activity), Object(VTWorkflowEntity), Object(VtigerCRMObjectMeta))
#1 /usr/share/coreBOS/corebos-master/cron/modules/com_vtiger_workflow/com_vtiger_workflow.service(83): VTUpdateFieldsTask->doTask(Object(VTWorkflowEntity))
#2 /usr/share/coreBOS/corebos-master/cron/modules/com_vtiger_workflow/com_vtiger_workflow.service(98): vtRunTaskJob(Object(PearDatabase))
#3 /usr/share/coreBOS/corebos-master/vtigercron.php(62): require_once('/usr/share/core...')
#4 {main}
thrown in /usr/share/coreBOS/corebos-master/modules/com_vtiger_workflow/VTWorkflowUtils.php on line 41
[root@acomip cron]#
Ranieri
eCRM Web
Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
I removed and recreate a workflow, sees works now ...
Ranieri
eCRM Web
Posts: 1,665
Threads: 644
Joined: Aug 2016
Reputation:
164
a similar situation is occurring now
in the apache log there are no messages
I activated the coreBOS debug but I don't see an error message
what message pattern should I look for? the literal "error" or "workflow?
Ranieri
eCRM Web
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
runwftask.php needs you to set the task you want to execute, the one that is hardcoded there is invalid in your install
the same happens with evalwf.php which is much more interesting fro debugging
Joe
TSolucio
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
favicon notification is not important as from within the application it is set correctly. If you want to eliminate it just copy the favicon.ico to the top of the install
Joe
TSolucio