[Tasks] - Main tasks create slave objects related to a DN - current definition of attributeAccess is string with lifeCycle description
[Tasks] - Main tasks create slave objects related to a DN - current definition of attributeAccess is string with lifeCycle description
Below attribute is more generic now, it should be changed to generic DN instead of lifeCycle. It can be used by any tasks' plugin, such as notifications.
The concept is identical, it still serves the purpose of DN storage, but not only for life cycle.
new StringAttribute(
_('lifeCycleDN'), _('DN list filled by tasks lifeCycle'),
'fdTasksGranularDN', FALSE
),
We should analyze if this could be transformed to an array attribute, it could potentially be beneficial in certain logics.
Also, some reference attributes related to a CN (such as in email object) could reuse that logic.
"fdTasksGranularRef" => !empty($attrs['ref']) ? $attrs['ref'] : null,
It should be used within fdTaskGranular to allow that attribute to be set with potentially good data, making orchestrator work easier.