When a status changed to completed a task are moved to history.
How can i copy this procedure to a new created status?
Thanks.
When a status changed to completed a task are moved to history.
How can i copy this procedure to a new created status?
Thanks.
Hi ,
You can override history subpanel in file : /custom/Extension/modules/[ MODULE ]/Ext/Layoutdefs/layoutdefs.ext.php
For example :
$layout_defs[MODULE][‘subpanel_setup’][‘history’] = array(
‘collection_list’ => array(
‘tasks’ => array(
‘module’ => ‘Tasks’,
‘subpanel_name’ => ‘ForHistory’,
‘get_subpanel_data’ => ‘function:getHistory’,
),
),
)
Addn function getHistory() to your module class file with mysql query as you want result for your subpanel…
for example
function getHistory() {
$mysqlQuery = “Your select query for subpanel data”;
return $mysqlQuery;
}
Try this may help you…
Thanks,
It’s no more necessary. I made a differente way.
Thanks.
Hi,
Can you please post the solution, that may be useful to others.
Thanks,
Sure.
I haven’t customize nothing, just create a custom field that are used in a Workflow.