diff --git a/plugins/configuration/tasks/class_tasks.inc b/plugins/configuration/tasks/class_tasks.inc index 49f510baddb137cab80769aa15e1a4d106c1cb9e..f692dce0a8c365586ec5c9223710ff7ffd27e825 100644 --- a/plugins/configuration/tasks/class_tasks.inc +++ b/plugins/configuration/tasks/class_tasks.inc @@ -204,6 +204,8 @@ class tasks extends simplePlugin $prepData['tasksGranular'] = [ "fdTasksGranularDN" => $dn, "fdTasksGranularType" => $taskType, + // Verification as 'ref' could potentially not be present depending on the logic of the main task. + "fdTasksGranularRef" => !empty($attrs['ref']) ? $attrs['ref'] : null, ]; break; } diff --git a/plugins/configuration/tasks/class_tasksGranular.inc b/plugins/configuration/tasks/class_tasksGranular.inc index 445e3ab04b9be5a21c7f57f333bb02bf57dc3f33..2504202ddad0989e1457bc909885ae2b329aaf15 100644 --- a/plugins/configuration/tasks/class_tasksGranular.inc +++ b/plugins/configuration/tasks/class_tasksGranular.inc @@ -64,9 +64,9 @@ class tasksGranular extends simplePlugin _('Schedule'), '', 'fdTasksGranularSchedule', FALSE ), - // Below attribute are for tasks of type lifeCycle - new StringAttribute( - _('lifeCycleDN'), _('DN list filled by tasks lifeCycle'), + // Below attribute are for tasks of type lifeCycle and other tasks added as plugin + new StringAttribute( // Attribute is mostly used to store important DN requiring processing by Orchestrator. + _('Related DN'), _('DN list filled by main tasks'), 'fdTasksGranularDN', FALSE ), // Below attributes are for tasks of type Mail