Hi,
i would like to create a Background Task that should clone every month a change template to a routine change.
I tried a few thing but dont get it to work. The background task is not the problem.
I need to know how I can clone/copy an object internal via PHP. The Object-Copier extension is installed but I think not functional for this.
I found the DBClone function but I have no idea how to use it.
Does anyone did something like that already?
Many thanks,
Nico
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i would like to create a Background Task that should clone every month a change template to a routine change.
I tried a few thing but dont get it to work. The background task is not the problem.
I need to know how I can clone/copy an object internal via PHP. The Object-Copier extension is installed but I think not functional for this.
I found the DBClone function but I have no idea how to use it.
Does anyone did something like that already?
Many thanks,
Nico
Combodo made such an extension : Recurring Object
But it's not yet available ion iTop Hub...
You may contact sales@combodo.com
Give a look at this extension, it's kind of a base for writing your own. "Recurring object" is based on it.
Thanks for the hint.
I've found the functions that will clone my Objects as desired.
BTW: Are there any news about this question: https://sourceforge.net/p/itop/discussion/922360/thread/b32df882db/?limit=25#e74e
Pierre and 'glajarige' have been engaged with it.
Many thanks again,
Nico
On my side, not enough time sorry... But I still has this in mind !