Hello,
I would like, during the retention period, in addition to changing the status to disable, to empty the links to another class (lnkContactToMSOnLineLicence, represented by the msOnline_list field).
I tried the following without success:
<delete_policy_update_person>status:inactive;msOnline_list:RESET</delete_policy_update_person>
<delete_policy_update_person>status:inactive;lnkContactToMSOnLineLicence:RESET</delete_policy_update_person>
<delete_policy_update_person>status:inactive;msOnline_list:msonLinelicence_id:0</delete_policy_update_person>
Does this seem possible?
iTop version 3.2.0-2-14758 built on 2024-09-13 10:44:26
MySQL: 10.11.10-MariaDB
PHP: 8.2.25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Out of the box, I suspect that it's not possible to empty a linkedset field.
There are various way for doing this, either within the collector, where you can code a REST call to do it or within iTop, with a callback on the Person EVENT_DB_AFTER_WRITE, always or just when done by a synchro, reset that ormLinkedSet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I would like, during the retention period, in addition to changing the status to disable, to empty the links to another class (lnkContactToMSOnLineLicence, represented by the msOnline_list field).
I tried the following without success:
<delete_policy_update_person>status:inactive;msOnline_list:RESET</delete_policy_update_person>
<delete_policy_update_person>status:inactive;lnkContactToMSOnLineLicence:RESET</delete_policy_update_person>
<delete_policy_update_person>status:inactive;msOnline_list:msonLinelicence_id:0</delete_policy_update_person>
Does this seem possible?
iTop version 3.2.0-2-14758 built on 2024-09-13 10:44:26
MySQL: 10.11.10-MariaDB
PHP: 8.2.25
Out of the box, I suspect that it's not possible to empty a linkedset field.
There are various way for doing this, either within the collector, where you can code a REST call to do it or within iTop, with a callback on the Person EVENT_DB_AFTER_WRITE, always or just when done by a synchro, reset that ormLinkedSet.